size property

double size

Gets the current size of the icon.

Implementation

double get size {
  return _size;
}
void size=(double value)

Sets the current size of the icon.

Implementation

set size(double value) {
  if (value == _size) {
    return;
  }
  _size = value;
  _localBounds.setTo(0, 0, size, size);
  _invalidStyle = true;
  requiresRedraw();
}