checked property

  1. @Deprecated('Use RadioGroup.groupValue to find which radio is checked. ' 'This feature was deprecated after v3.32.0-0.0.pre.')
bool get checked

Whether this radio button is checked.

To control this value, set value and groupValue appropriately.

Implementation

@Deprecated(
  'Use RadioGroup.groupValue to find which radio is checked. '
  'This feature was deprecated after v3.32.0-0.0.pre.',
)
bool get checked => value == groupValue;