useScrollView method
void
useScrollView({
- ScrollController? controller,
- Axis scrollDirection = Axis.vertical,
- bool? primary,
- bool reverse = false,
- ScrollPhysics? physics,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- String? restorationId,
Implementation
void useScrollView({
ScrollController? controller,
Axis scrollDirection = Axis.vertical,
bool? primary,
bool reverse = false,
ScrollPhysics? physics,
DragStartBehavior dragStartBehavior = DragStartBehavior.start,
String? restorationId,
}) =>
useParent(
(w) => w
..useScrollView(
controller: controller,
scrollDirection: scrollDirection,
primary: primary,
reverse: reverse,
physics: physics,
dragStartBehavior: dragStartBehavior,
restorationId: restorationId,
),
);