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) {
if (_selected == v) return;
_selected = v;
_invalidateCache();
markNeedsPaint();
}