SimpleTransformScrollbarController constructor

SimpleTransformScrollbarController({
  1. required Color color,
  2. required Animation<double> fadeoutOpacityAnimationVertical,
  3. required Animation<double> fadeoutOpacityAnimationHorizontal,
  4. Color trackColor = const Color(0x00000000),
  5. Color trackBorderColor = const Color(0x00000000),
  6. TextDirection? textDirection,
  7. double thickness = _kScrollbarThickness,
  8. EdgeInsets padding = EdgeInsets.zero,
  9. double mainAxisMargin = 0.0,
  10. double crossAxisMargin = 0.0,
  11. Radius? radius,
  12. Radius? trackRadius,
  13. OutlinedBorder? shape,
  14. double minLength = _kMinThumbExtent,
  15. double? minOverscrollLength,
  16. bool ignorePointer = false,
})

Implementation

SimpleTransformScrollbarController({
  required Color color,
  required this.fadeoutOpacityAnimationVertical,
  required this.fadeoutOpacityAnimationHorizontal,
  Color trackColor = const Color(0x00000000),
  Color trackBorderColor = const Color(0x00000000),
  TextDirection? textDirection,
  double thickness = _kScrollbarThickness,
  EdgeInsets padding = EdgeInsets.zero,
  double mainAxisMargin = 0.0,
  double crossAxisMargin = 0.0,
  Radius? radius,
  Radius? trackRadius,
  OutlinedBorder? shape,
  double minLength = _kMinThumbExtent,
  double? minOverscrollLength,
  bool ignorePointer = false,
}) : super(
        verticalScrollbar: PublicScrollbarPainter(
          color: color,
          fadeoutOpacityAnimation: fadeoutOpacityAnimationVertical,
          trackColor: trackColor,
          trackBorderColor: trackBorderColor,
          textDirection: textDirection,
          thickness: thickness,
          padding: padding,
          mainAxisMargin: mainAxisMargin,
          crossAxisMargin: crossAxisMargin,
          radius: radius,
          trackRadius: trackRadius,
          shape: shape,
          minLength: minLength,
          minOverscrollLength: minOverscrollLength,
          scrollbarOrientation: ScrollbarOrientation.right,
          ignorePointer: ignorePointer,
        ),
        horizontalScrollbar: PublicScrollbarPainter(
          color: color,
          fadeoutOpacityAnimation: fadeoutOpacityAnimationHorizontal,
          trackColor: trackColor,
          trackBorderColor: trackBorderColor,
          textDirection: textDirection,
          thickness: thickness,
          padding: padding,
          mainAxisMargin: mainAxisMargin,
          crossAxisMargin: crossAxisMargin,
          radius: radius,
          trackRadius: trackRadius,
          shape: shape,
          minLength: minLength,
          minOverscrollLength: minOverscrollLength,
          scrollbarOrientation: ScrollbarOrientation.bottom,
          ignorePointer: ignorePointer,
        ),
        textDirection: textDirection ?? TextDirection.ltr,
      );