width property

int get width

Implementation

int get width => int.tryParse(getAttribute('width') ?? '') ?? 0;
set width (int value)

Implementation

set width(int value) {
  if (value < 0) value = 0;
  internalSetAttribute('width', value.toString());
}