UnboundedCustomScrollView constructor

const UnboundedCustomScrollView({
  1. Key? key,
  2. Axis scrollDirection = Axis.vertical,
  3. bool reverse = false,
  4. ScrollController? controller,
  5. bool? primary,
  6. ScrollPhysics? physics,
  7. bool shrinkWrap = false,
  8. Key? center,
  9. double anchor = 0.0,
  10. double? cacheExtent,
  11. List<Widget> slivers = const <Widget>[],
  12. int? semanticChildCount,
  13. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  14. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
})

A version of CustomScrollView that allows does not constrict the extents to be within 0 and 1. See CustomScrollView for more information.

Implementation

const UnboundedCustomScrollView({
  super.key,
  super.scrollDirection,
  super.reverse,
  super.controller,
  super.primary,
  super.physics,
  bool shrinkWrap = false,
  super.center,
  double anchor = 0.0,
  super.cacheExtent,
  super.slivers,
  super.semanticChildCount,
  super.dragStartBehavior,
  super.keyboardDismissBehavior,
})  : _shrinkWrap = shrinkWrap,
      _anchor = anchor,
      super(shrinkWrap: false);