SheetScrollable constructor
const
SheetScrollable({
- Key? key,
- AxisDirection axisDirection = AxisDirection.down,
- SheetController? controller,
- ScrollPhysics? physics,
- required ViewportBuilder viewportBuilder,
- bool excludeFromSemantics = false,
- int? semanticChildCount,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- String? restorationId,
- SheetBehavior? scrollBehavior,
- double? initialExtent,
- double minInteractionExtent = 0,
Creates a widget that scrolls.
The axisDirection and viewportBuilder arguments must not be null.
Implementation
const SheetScrollable({
super.key,
this.axisDirection = AxisDirection.down,
this.controller,
this.physics,
required this.viewportBuilder,
this.excludeFromSemantics = false,
this.semanticChildCount,
this.dragStartBehavior = DragStartBehavior.start,
this.restorationId,
this.scrollBehavior,
this.initialExtent,
this.minInteractionExtent = 0,
}) : assert(semanticChildCount == null || semanticChildCount >= 0);