StreamScrollViewIndexedWidgetBuilder<ItemType, WidgetType extends Widget> typedef

StreamScrollViewIndexedWidgetBuilder<ItemType, WidgetType extends Widget> = Widget Function(BuildContext context, List<ItemType> items, int index, WidgetType defaultWidget)

Signature for a function that creates a widget for a given index, e.g., in a list, grid.

Used by StreamChannelListView, StreamMessageSearchListView and StreamUserListView.

Implementation

typedef StreamScrollViewIndexedWidgetBuilder<ItemType,
        WidgetType extends Widget>
    = Widget Function(
  BuildContext context,
  List<ItemType> items,
  int index,
  WidgetType defaultWidget,
);