scale method Null safety

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!.scale(x, y, z);
  markNeedsPaint();
  markNeedsSemanticsUpdate();
}