setWidth method

void setWidth(
  1. double width, {
  2. bool stretch = false,
  3. Vector3? aboutPoint,
  4. Vector3 aboutEdge = ORIGIN,
})

Implementation

void setWidth(double width,
    {bool stretch = false, Vector3? aboutPoint, Vector3 aboutEdge = ORIGIN}) {
  rescaleToFit(width, 0,
      stretch: stretch, aboutEdge: aboutEdge, aboutPoint: aboutPoint);
}