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