buildScrollView method Null safety

  1. @override
Widget buildScrollView(
  1. BuildContext context,
  2. dynamic scrollables,
  3. Widget? headerSliver,
  4. PlatformLayoutInfo layoutInfo,
  5. {bool shrinkWrap = false}
)
override

Implementation

@override
Widget buildScrollView(BuildContext context, dynamic scrollables,
    Widget? headerSliver, PlatformLayoutInfo layoutInfo,
    {bool shrinkWrap = false}) {
  // ignore: unused_local_variable
  var psc = PrimaryScrollController.of(context);
  return super.buildScrollViewWithWrapper(
    context,
    scrollables,
    headerSliver,
    layoutInfo,
    sliverWrapper: (slivers) => ResponsiveSliverConstraint(sliver: slivers),
    shrinkWrap: shrinkWrap,
  );
}