FSelectGroupItem<T>.radio constructor
FSelectGroupItem<T>.radio ({})
Creates a radio button wrapped in a FSelectGroupItem.
Implementation
// TODO: Making this const causes a false positive in the list_element_type_not_assignable lint when declared
// in a const list inside FSelectGroup. I still can't replicate this issue in other cases.
// ignore: prefer_const_constructors_in_immutables
factory FSelectGroupItem.radio({
required T value,
FRadioSelectGroupStyle? style,
Widget? label,
Widget? description,
Widget? error,
String? semanticLabel,
bool enabled,
bool autofocus,
FocusNode? focusNode,
ValueChanged<bool>? onFocusChange,
Key? key,
}) = _Radio;