MScrollbar constructor
const
MScrollbar({
- Key? key,
- required Widget child,
- ScrollController? controller,
- MScrollbarStyle style = _kScrollbarStyle,
- Duration? scrollbarFadeDuration,
- Duration? scrollbarTimeToFade,
- bool? thumbVisibility,
- bool? showTrackOnHover,
- ScrollNotificationPredicate? notificationPredicate,
Implementation
const MScrollbar({
super.key,
required this.child,
this.controller,
this.style = _kScrollbarStyle,
this.scrollbarFadeDuration,
this.scrollbarTimeToFade,
this.thumbVisibility,
this.showTrackOnHover,
this.notificationPredicate,
});