buildScrollView method
Widget
buildScrollView(
- BuildContext context,
- dynamic scrollables,
- Widget? headerSliver,
- PlatformLayoutInfo layoutInfo, {
- bool shrinkWrap = false,
override
Implementation
@override
Widget buildScrollView(BuildContext context, dynamic scrollables,
Widget? headerSliver, PlatformLayoutInfo layoutInfo,
{bool shrinkWrap = false}) {
return CustomScrollView(
controller: widget.scroller,
shrinkWrap: shrinkWrap,
slivers: [
if (headerSliver != null) headerSliver,
...scrollables,
],
);
}