updateScrollbarPainters method

  1. @override
void updateScrollbarPainters()
override

This method is responsible for configuring the horizontalScrollbar and verticalScrollbar according to the widget's properties and any inherited widgets the painter depends on, like Directionality and MediaQuery.

Subclasses can override to configure the horizontalScrollbar and verticalScrollbar.

See also:

Implementation

@override
void updateScrollbarPainters() {
  updateScrollbarPainter(true);
  updateScrollbarPainter(false);
}