GroupedRadio<T> class

Inheritance

Constructors

GroupedRadio({Key? key, 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, BoxDecoration? itemDecoration})
const

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
itemDecoration BoxDecoration?
Applied to a Container wrapping each item if provided
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

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<GroupedRadio<T?>>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
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
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited