value property

T? get value

The value of the selected element in the radio group.

Implementation

T? get value => _value;
set value (T? value)

Implementation

set value(T? value) => setState(() {
      _value = value;

      if (widget.onChanged == null) return;

      widget.onChanged!(value);
    });