scale method

void scale(
  1. double x, [
  2. double? y,
  3. double? z
])

Concatenates a scale into the transform.

Implementation

void scale(double x, [double? y, double? z]) {
  _transform!.scaleByDouble(x, y ?? x, z ?? x, 1);
  markNeedsPaint();
  markNeedsSemanticsUpdate();
}