ListViewBuilder typedef

ListViewBuilder = Widget Function(ListViewComponentData data)

This typedef defines a method that returns a Widget that acts as a scrollable list. This list is populated by ListViewComponentData.itemBuilder.

Used by ListViewComponent as ListViewComponent.builder.

Example

ListViewComponent(
  builder: (ListViewComponentData data)
  {
    return ListView.builder(
    itemBuilder: data.itemBuilder,
    itemCount: data.itemCount,
  }
);

See Also:

Implementation

typedef ListViewBuilder = Widget Function(ListViewComponentData data);