scaleVertically method

Matrix4Transform scaleVertically(
  1. double factor, {
  2. Offset? origin,
})

Scales by factor vertically. Keeps the same horizontal scale. Gets bigger for >1. Smaller for <1. Same size for 1 (and passing null is the same as passing 1). No size for 0.

Implementation

Matrix4Transform scaleVertically(double factor, {Offset? origin}) =>
    scaleBy(y: factor, origin: origin);