stretchToFitWidth method

void stretchToFitWidth(
  1. double width, {
  2. Vector3? aboutPoint,
  3. Vector3 aboutEdge = ORIGIN,
})

Implementation

void stretchToFitWidth(double width,
    {Vector3? aboutPoint, Vector3 aboutEdge = ORIGIN}) {
  return setWidth(width,
      aboutPoint: aboutPoint, aboutEdge: aboutEdge, stretch: true);
}