ExtendedScrollView.nested constructor

const ExtendedScrollView.nested({
  1. Key? key,
  2. bool expanded = false,
  3. int flex = 1,
  4. NestedScrollViewHeaderSliversBuilder? headerSliverBuilder,
  5. bool floatHeaderSlivers = true,
  6. Clip clipBehavior = Clip.hardEdge,
  7. bool reverse = false,
  8. ScrollPhysics? physics,
  9. Axis scrollDirection = Axis.vertical,
  10. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  11. Widget? body,
  12. ScrollController? controller,
  13. String? restorationId,
  14. List<Widget> slivers = const [],
  15. 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);