cupertino_listview library Null safety


Display a vertical list of sections, as done by plain list on iOS : the current section remains displayed on top.
Class describing a child's index of the CupertinoListView
Class describing a section's index of the CupertinoListView


ChildSeparatorBuilder = Widget Function(BuildContext context, IndexPath index)
Separator Builder, used between two children
SectionBuilder = Widget Function(BuildContext context, SectionPath index, bool isFloating)
Section title builder, either used to build sections of the list and the current floating section. Avoid using same key for floating widget and list widget, using isFloating input parameter.
SectionChildBuilder = Widget Function(BuildContext context, IndexPath index)
Section children builder
SectionItemCount = int Function(int section)
Retrieve the number of items of a given section