RawTransformScrollbarController constructor

RawTransformScrollbarController({
  1. required TickerProvider vsync,
  2. required TransformScrollbarWidgetInterface controlInterface,
  3. ScrollPhysics? scrollPhysics,
  4. bool? thumbVisibility,
  5. OutlinedBorder? shape,
  6. Radius? radius,
  7. double? thickness,
  8. Color? thumbColor,
  9. double minThumbLength = _kMinThumbExtent,
  10. double? minOverscrollLength,
  11. bool? trackVisibility,
  12. Radius? trackRadius,
  13. Color? trackColor,
  14. Color? trackBorderColor,
  15. Duration fadeDuration = _kScrollbarFadeDuration,
  16. Duration timeToFade = _kScrollbarTimeToFade,
  17. Duration pressDuration = Duration.zero,
  18. bool? interactive,
  19. double mainAxisMargin = 0.0,
  20. double crossAxisMargin = 0.0,
  21. EdgeInsets? padding,
})

Implementation

RawTransformScrollbarController({
  required this.vsync,
  required super.controlInterface,
  super.scrollPhysics,
  super.thumbVisibility,
  super.shape,
  super.radius,
  super.thickness,
  super.thumbColor,
  super.minThumbLength,
  super.minOverscrollLength,
  super.trackVisibility,
  super.trackRadius,
  super.trackColor,
  super.trackBorderColor,
  super.fadeDuration,
  super.timeToFade,
  super.pressDuration,
  super.interactive,
  super.mainAxisMargin,
  super.crossAxisMargin,
  super.padding,
}) : super(
        fadeoutAnimationControllerHorizontal: AnimationController(
          duration: fadeDuration,
          vsync: vsync,
        ),
        fadeoutAnimationControllerVertical: AnimationController(
          duration: fadeDuration,
          vsync: vsync,
        ),
      );