buildChildLayout method
Subclasses should override this method to build the layout model.
Implementation
@override
Widget buildChildLayout(BuildContext context) {
if (itemExtent != null) {
return ExtendedSliverFixedExtentList(
delegate: childrenDelegate,
itemExtent: itemExtent!,
extendedListDelegate: extendedListDelegate,
);
}
return ExtendedSliverList(
delegate: childrenDelegate,
extendedListDelegate: extendedListDelegate,
);
}