CollectionWidget<T extends Widget> constructor
Null safety
- {Key? key,
- required int itemCount(
- required T itemForIndex(
- int index
- void itemVisibility( )?,
- Axis direction = Axis.vertical,
- bool reverse = false,
- bool shrinkWrap = false,
- double visibilityFraction = 0,
- double startFraction = 0.25,
- double endFraction = 0.25,
- VoidCallback? onStart,
- VoidCallback? onEnd}
Invoke itemCount and itemForIndex for collection.