width property

int get width

Selects 1 of 5 predefined width values.

See AcceptsWidth.width for more details. Null by default.

Implementation

int get width => _width;
  1. @override
set width (dynamic val)
override

Implementation

@override
set width(dynamic val) {
  if (val == null) {
    _width = 0;
  } else {
    _width = getInt(val);
    assert(_width >= 0 && _width <= 5);
  }
}