FSelectGroupItem<T> class
An item that represents a selection in a FSelectGroup.
- Mixed-in types
Constructors
- FSelectGroupItem({required T value, required Widget builder(BuildContext context, void onChange(T value, bool selected), bool selected)})
- Creates a FSelectGroupItem.
-
FSelectGroupItem.checkbox({required T value, FCheckboxSelectGroupStyle? style, Widget? label, Widget? description, String? semanticLabel, Widget? error, bool enabled = true, bool autofocus = false, FocusNode? focusNode, ValueChanged<
bool> ? onFocusChange, Key? key}) -
Creates a FSelectGroupItem that wraps a FCheckbox.
factory
-
FSelectGroupItem.radio({required T value, FRadioSelectGroupStyle? style, Widget? label, Widget? description, String? semanticLabel, Widget? error, bool enabled = true, bool autofocus = false, FocusNode? focusNode, ValueChanged<
bool> ? onFocusChange, Key? key}) -
Creates a FSelectGroupItem that wraps a FRadio.
factory
Properties
- builder ↔ Widget Function(BuildContext context, void onChange(T value, bool selected), bool selected)
-
The builder that creates the item's widget.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ T
-
The value of the item.
getter/setter pair
Methods
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override