checked property Null safety

bool checked

Whether this radio button is checked.

To control this value, set value and groupValue appropriately.

Implementation

bool get checked => value == groupValue;