SingleChildScrollViewModifier constructor
const
SingleChildScrollViewModifier({
- Key? key,
- Widget? child,
- Key? modifierKey,
- Axis scrollDirection = Axis.vertical,
- bool reverse = false,
- EdgeInsetsGeometry? padding,
- bool? primary,
- ScrollPhysics? physics,
- ScrollController? controller,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- Clip clipBehavior = Clip.hardEdge,
- String? restorationId,
- ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
Creates a box in which a single widget can be scrolled.
Implementation
const SingleChildScrollViewModifier({
super.key,
super.child,
super.modifierKey,
this.scrollDirection = Axis.vertical,
this.reverse = false,
this.padding,
this.primary,
this.physics,
this.controller,
this.dragStartBehavior = DragStartBehavior.start,
this.clipBehavior = Clip.hardEdge,
this.restorationId,
this.keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
});