buildPageGuts method Null safety

Widget buildPageGuts(
  1. BuildContext context,
  2. PlatformLayoutInfo layoutInfo,
  3. {bool shrinkWrap = false}
)

Implementation

Widget buildPageGuts(BuildContext context, PlatformLayoutInfo layoutInfo,
    {bool shrinkWrap = false}) {
  return Builder(builder: (scaffoldCtx) {
    final scrollables = buildScrollables(scaffoldCtx, layoutInfo, shrinkWrap);
    final sliverHeader = buildHeader(scaffoldCtx, layoutInfo);

    return buildScrollView(scaffoldCtx, scrollables, sliverHeader, layoutInfo,
        shrinkWrap: shrinkWrap);
  });
}