selected property

bool get selected

Whether this radio is currently selected.

Implementation

bool get selected => _selected;
set selected (bool v)

Sets the selection state and invalidates the paint cache.

Implementation

set selected(bool v) {
  _selected = v;
  _invalidateCache();
}