ExtendedScrollView.nested constructor
const
ExtendedScrollView.nested({
- Key? key,
- bool expanded = false,
- int flex = 1,
- NestedScrollViewHeaderSliversBuilder? headerSliverBuilder,
- bool floatHeaderSlivers = true,
- Clip clipBehavior = Clip.hardEdge,
- bool reverse = false,
- ScrollPhysics? physics,
- Axis scrollDirection = Axis.vertical,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- Widget? body,
- ScrollController? controller,
- String? restorationId,
- List<
Widget> slivers = const [], - ScrollBehavior? scrollBehavior,
Implementation
const ExtendedScrollView.nested({
super.key,
this.expanded = false,
this.flex = 1,
this.headerSliverBuilder,
this.floatHeaderSlivers = true,
this.clipBehavior = Clip.hardEdge,
this.reverse = false,
this.physics,
this.scrollDirection = Axis.vertical,
this.dragStartBehavior = DragStartBehavior.start,
this.body,
this.controller,
this.restorationId,
this.slivers = const [],
this.scrollBehavior,
}) : isNestedScrollView = true,
builderScrollView = null,
primary = null,
shrinkWrap = false,
center = null,
anchor = 0.0,
cacheExtent = null,
semanticChildCount = null,
keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
assert(body != null);