ExtendedNestedScrollView constructor
const
ExtendedNestedScrollView({
- Key? key,
- ScrollController? controller,
- Axis scrollDirection = Axis.vertical,
- bool reverse = false,
- ScrollPhysics? physics,
- required NestedScrollViewHeaderSliversBuilder headerSliverBuilder,
- required int innerControllerCount,
- required int activeControllerIndex,
- required Widget bodyBuilder(
- BuildContext context,
- List<
ScrollController> innerControllers
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- bool floatHeaderSlivers = false,
- Clip clipBehavior = Clip.hardEdge,
- String? restorationId,
- ScrollBehavior? scrollBehavior,
- bool onNotification(
- Notification notification
Implementation
const ExtendedNestedScrollView({
Key? key,
this.controller,
this.scrollDirection = Axis.vertical,
this.reverse = false,
this.physics,
required this.headerSliverBuilder,
required this.innerControllerCount,
required this.activeControllerIndex,
required this.bodyBuilder,
this.dragStartBehavior = DragStartBehavior.start,
this.floatHeaderSlivers = false,
this.clipBehavior = Clip.hardEdge,
this.restorationId,
this.scrollBehavior,
this.onNotification,
}) : assert(innerControllerCount > 0),
assert(activeControllerIndex < innerControllerCount),
super(key: key);