scrollbar method
Niku
scrollbar({
- ScrollController? controller,
- bool? isAlwaysShown,
- bool? showTrackOnHover,
- double? hoverThickness,
- double? thickness,
- Radius? radius,
- ScrollNotificationPredicate? notificationPredicate,
Add scrollbar to widget scrollable
Example usage
Niku()
.scrollbar();
Implementation
Niku scrollbar({
ScrollController? controller,
bool? isAlwaysShown,
bool? showTrackOnHover,
double? hoverThickness,
double? thickness,
Radius? radius,
ScrollNotificationPredicate? notificationPredicate,
}) {
_widget = Scrollbar(
child: _widget,
controller: controller,
isAlwaysShown: isAlwaysShown,
hoverThickness: hoverThickness,
thickness: thickness,
radius: radius,
notificationPredicate: notificationPredicate,
);
return this;
}