width property Null safety

num width
override

The width of this display object with the applied transformation.

Setting the width may change the scaleX, scaleY, skewX and skewY properties, depending on the previously applied transformation.

Implementation

@override
num get width {
  _refreshTextLineMetrics();
  return _width;
}
void width=(num value)
override

Implementation

@override
set width(num value) {
  _width = value.toDouble();
  _refreshPending |= 3;
}