setValueSilently method

void setValueSilently(
  1. T? value
)

Sets the value of the selected element in the radio group without calling the onChanged callback.

Implementation

void setValueSilently(T? value) {
  if (!mounted) return;

  if (value == this.value) return;

  setState(() {
    _value = value;
  });
}