IndexedSnapshotWidgetBuilder<T> typedef

IndexedSnapshotWidgetBuilder<T> = Widget Function(BuildContext context, AsyncSnapshot<List<T>> snapshot, int index)

A builder that builds a list item from a BuildContext, snapshot of items seen so far, and item index.

Implementation

typedef IndexedSnapshotWidgetBuilder<T> = Widget Function(
  BuildContext context,
  AsyncSnapshot<List<T>> snapshot,
  int index,
);