GroupedRadio<T> class
Constructors
-
GroupedRadio({required List<FormBuilderFieldOption<T>> options, required OptionsOrientation orientation, required ValueChanged<T?> onChanged, T? value, List<T>? disabled, Color? activeColor, Color? focusColor, Color? hoverColor, MaterialTapTargetSize? materialTapTargetSize, Axis wrapDirection = Axis.horizontal, WrapAlignment wrapAlignment = WrapAlignment.start, double wrapSpacing = 0.0, WrapAlignment wrapRunAlignment = WrapAlignment.start, double wrapRunSpacing = 0.0, WrapCrossAlignment wrapCrossAxisAlignment = WrapCrossAlignment.start, TextDirection? wrapTextDirection, VerticalDirection wrapVerticalDirection = VerticalDirection.down, Widget? separator, ControlAffinity controlAffinity = ControlAffinity.leading})
-
Properties
-
activeColor
→ Color?
-
The color to use when this checkbox is checked.
final
-
controlAffinity
→ ControlAffinity
-
final
-
disabled
→ List<T>?
-
Specifies which radio option values should be disabled.
If this is null, then no radio options will be disabled.
final
-
focusColor
→ Color?
-
The color for the checkbox's Material when it has the input focus.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
hoverColor
→ Color?
-
The color for the checkbox's Material when a pointer is hovering over it.
final
-
key
→ Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
materialTapTargetSize
→ MaterialTapTargetSize?
-
Configures the minimum size of the tap target.
final
-
onChanged
→ ValueChanged<T?>
-
Called when the value of the checkbox group changes.
final
-
options
→ List<FormBuilderFieldOption<T>>
-
A list of string that describes each checkbox. Each item must be distinct.
final
-
orientation
→ OptionsOrientation
-
Specifies the orientation of the elements in itemList.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
separator
→ Widget?
-
final
-
value
→ T?
-
A list of string which specifies automatically checked checkboxes.
Every element must match an item from itemList.
final
-
wrapAlignment
→ WrapAlignment
-
How the children within a run should be placed in the main axis.
final
-
wrapCrossAxisAlignment
→ WrapCrossAlignment
-
How the children within a run should be aligned relative to each other in
the cross axis.
final
-
wrapDirection
→ Axis
-
The direction to use as the main axis.
final
-
wrapRunAlignment
→ WrapAlignment
-
How the runs themselves should be placed in the cross axis.
final
-
wrapRunSpacing
→ double
-
How much space to place between the runs themselves in the cross axis.
final
-
wrapSpacing
→ double
-
How much space to place between children in a run in the main axis.
final
-
wrapTextDirection
→ TextDirection?
-
Determines the order to lay children out horizontally and how to interpret
start
and end
in the horizontal direction.
final
-
wrapVerticalDirection
→ VerticalDirection
-
Determines the order to lay children out vertically and how to interpret
start
and end
in the vertical direction.
final