ScrollbarProps constructor
const
ScrollbarProps({
- OutlinedBorder? shape,
- Radius? radius,
- double? thickness,
- double mainAxisMargin = 0.0,
- double crossAxisMargin = 0.0,
- Duration fadeDuration = const Duration(milliseconds: 300),
- Duration timeToFade = const Duration(milliseconds: 600),
- Duration pressDuration = Duration.zero,
- Color? trackBorderColor,
- Color? trackColor,
- Color? thumbColor,
- double minThumbLength = 18.0,
- double? minOverscrollLength,
- Radius? trackRadius,
- ScrollbarOrientation? scrollbarOrientation,
- bool? thumbVisibility,
- bool? trackVisibility,
- bool? interactive,
- ScrollNotificationPredicate notificationPredicate = defaultScrollNotificationPredicate,
Implementation
const ScrollbarProps({
this.shape,
this.radius,
this.thickness,
this.mainAxisMargin = 0.0,
this.crossAxisMargin = 0.0,
this.fadeDuration = const Duration(milliseconds: 300),
this.timeToFade = const Duration(milliseconds: 600),
this.pressDuration = Duration.zero,
this.trackBorderColor,
this.trackColor,
this.thumbColor,
this.minThumbLength = 18.0,
this.minOverscrollLength,
this.trackRadius,
this.scrollbarOrientation,
this.thumbVisibility,
this.trackVisibility,
this.interactive,
this.notificationPredicate = defaultScrollNotificationPredicate,
});