ScrollbarProps constructor

const ScrollbarProps({
  1. OutlinedBorder? shape,
  2. Radius? radius,
  3. double? thickness,
  4. double mainAxisMargin = 0.0,
  5. double crossAxisMargin = 0.0,
  6. Duration fadeDuration = const Duration(milliseconds: 300),
  7. Duration timeToFade = const Duration(milliseconds: 600),
  8. Duration pressDuration = Duration.zero,
  9. Color? trackBorderColor,
  10. Color? trackColor,
  11. Color? thumbColor,
  12. double minThumbLength = 18.0,
  13. double? minOverscrollLength,
  14. Radius? trackRadius,
  15. ScrollbarOrientation? scrollbarOrientation,
  16. bool? thumbVisibility,
  17. bool? trackVisibility,
  18. bool? interactive,
  19. 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,
});