useScrollbar method
void
useScrollbar({
- ScrollController? controller,
- bool? thumbVisibility,
- bool? trackVisibility,
- double? thickness,
- Radius? radius,
- ScrollNotificationPredicate? notificationPredicate,
- bool? interactive,
- ScrollbarOrientation? scrollbarOrientation,
Implementation
void useScrollbar({
ScrollController? controller,
bool? thumbVisibility,
bool? trackVisibility,
double? thickness,
Radius? radius,
ScrollNotificationPredicate? notificationPredicate,
bool? interactive,
ScrollbarOrientation? scrollbarOrientation,
}) =>
_add((w) => Scrollbar(
child: w,
controller: controller,
thumbVisibility: thumbVisibility,
trackVisibility: trackVisibility,
thickness: thickness,
radius: radius,
notificationPredicate: notificationPredicate,
interactive: interactive,
scrollbarOrientation: scrollbarOrientation,
));