update method

  1. @override
void update(
  1. Matrix4 transform,
  2. Size viewport,
  3. Size content
)
override

Implementation

@override
void update(Matrix4 transform, Size viewport, Size content) {
  verticalScrollbar.update(
    getScrollMetricsV(transform, viewport, content),
    AxisDirection.down,
  );
  horizontalScrollbar.update(
    getScrollMetricsH(transform, viewport, content),
    horizontalScrollbar.textDirection == TextDirection.ltr
        ? AxisDirection.right
        : AxisDirection.left,
  );
}