IndexedWidgetBuilder typedef

IndexedWidgetBuilder = Widget Function(BuildContext context, int index)

A scrollable list of child widgets.

Children remain in the element tree (unlike the old implementation that rendered children to strings). Stateful children are fully supported.

Provide a ScrollController to share scroll state with a Scrollbar.

Flutter-like constructors are available:

Implementation

typedef IndexedWidgetBuilder = Widget Function(BuildContext context, int index);