NestedScrollView constructor Null safety

const NestedScrollView(
  1. {Key? key,
  2. Axis scrollDirection,
  3. bool reverse,
  4. ScrollPhysics? physics,
  5. required List<Sliver> slivers,
  6. List<Sliver>? innerBoxIsScrolledSlivers,
  7. required Widget body,
  8. bool floatHeaderSlivers,
  9. Clip clipBehavior,
  10. String? restorationId}
)

Implementation

const factory NestedScrollView(
    {final Key? key,
    final Axis scrollDirection,
    final bool reverse,
    final ScrollPhysics? physics,
    required final List<Sliver> slivers,
    final List<Sliver>? innerBoxIsScrolledSlivers,
    required final Widget body,
    final bool floatHeaderSlivers,
    final Clip clipBehavior,
    final String? restorationId}) = _$NestedScrollView;