builder property

IndexedWidgetBuilder? builder
final

An optional builder function for dynamically generating child widgets at specific indices.

Used in builder and custom modes to create items on demand. The function takes a BuildContext and index, returning the corresponding Widget for that position.

Implementation

final IndexedWidgetBuilder? builder;