Widget.nestedScrollView constructor Null safety

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

Implementation

const factory Widget.nestedScrollView({
  Key? key,
  @Default(Axis.vertical) Axis scrollDirection,
  @Default(false) bool reverse,
  ScrollPhysics? physics,
  required List<Sliver> slivers,
  List<Sliver>? innerBoxIsScrolledSlivers,
  required Widget body,
  @Default(false) bool floatHeaderSlivers,
  @Default(Clip.hardEdge) Clip clipBehavior,
  String? restorationId,
}) = NestedScrollView;