TransformScrollbarController constructor

TransformScrollbarController({
  1. required PublicScrollbarPainter verticalScrollbar,
  2. required PublicScrollbarPainter horizontalScrollbar,
  3. TextDirection textDirection = TextDirection.ltr,
})

Implementation

TransformScrollbarController({
  required this.verticalScrollbar,
  required this.horizontalScrollbar,
  TextDirection textDirection = TextDirection.ltr,
}) {
  verticalScrollbar.addListener(_onScrollbarEvent);
  horizontalScrollbar.addListener(_onScrollbarEvent);
  verticalScrollbar.textDirection = textDirection;
  horizontalScrollbar.textDirection = textDirection;
}