singleChildScrollView method
Niku
singleChildScrollView({
- ScrollController? controller,
- Axis scrollDirection = Axis.vertical,
- bool? primary,
- bool reverse = false,
- ScrollPhysics? scrollPhysics,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- String? restorationId,
Add singleChildScrolLView to widget
Equivalent to
singleChildScrollView(
)
Implementation
Niku singleChildScrollView({
ScrollController? controller,
Axis scrollDirection = Axis.vertical,
bool? primary,
bool reverse = false,
ScrollPhysics? scrollPhysics,
DragStartBehavior dragStartBehavior = DragStartBehavior.start,
String? restorationId,
}) =>
Niku(SingleChildScrollView(
child: this._widget,
controller: controller,
scrollDirection: scrollDirection,
primary: primary,
reverse: reverse,
physics: scrollPhysics,
dragStartBehavior: dragStartBehavior,
restorationId: restorationId,
));