scale method
Implementation
VisualEffect scale({
double x = 1.0,
double y = 1.0,
double z = 1.0,
Alignment anchor = Alignment.center,
}) {
if (x == 1 && y == 1 && z == 1) {
return this;
}
final transform = Matrix4.diagonal3Values(x, y, z);
return _TransformVisualEffect(
transform: transform,
anchor: anchor,
childSize: childSize,
childEffect: this,
);
}