width property

double width

Width of the artboard.

Implementation

double get width => _width;
void width=(double value)

Change the _width field value. widthChanged will be invoked only if the field's value has changed.

Implementation

set width(double value) {
  if (_width == value) {
    return;
  }
  double from = _width;
  _width = value;
  if (hasValidated) {
    widthChanged(from, value);
  }
}