SliverPrototypeExtentList constructor Null safety
- {Key? key,
- required SliverChildDelegate delegate,
- required Widget prototypeItem}
Creates a sliver that places its box children in a linear array and constrains them to have the same extent as a prototype item along the main axis.
Implementation
const SliverPrototypeExtentList({
super.key,
required super.delegate,
required this.prototypeItem,
}) : assert(prototypeItem != null);