ExtendedScrollView.custom constructor

const ExtendedScrollView.custom({
  1. Key? key,
  2. bool expanded = false,
  3. int flex = 1,
  4. Clip clipBehavior = Clip.hardEdge,
  5. bool reverse = false,
  6. ScrollPhysics? physics,
  7. Axis scrollDirection = Axis.vertical,
  8. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  9. ScrollController? controller,
  10. String? restorationId,
  11. List<Widget> slivers = const [],
  12. bool? primary,
  13. bool shrinkWrap = false,
  14. Key? center,
  15. double anchor = 0.0,
  16. double? cacheExtent,
  17. int? semanticChildCount,
  18. ScrollBehavior? scrollBehavior,
  19. 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;