FSelectGroupItem<T>.checkbox constructor
FSelectGroupItem<T>.checkbox ({})
Creates a checkbox 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.checkbox({
required T value,
FCheckboxSelectGroupStyle? style,
Widget? label,
Widget? description,
Widget? error,
String? semanticLabel,
bool enabled,
bool autofocus,
FocusNode? focusNode,
ValueChanged<bool>? onFocusChange,
Key? key,
}) = _Checkbox;