CheckboxGroup class

By st merlHin from DexCorp

Inheritance

Constructors

CheckboxGroup({Key? key, required Map<Text, bool?> child, required ValueChanged<List<String?>> onNewChecked, Color? activeColor, Color? focusColor, Color? hoverColor, Color? checkColor, CheckboxPriority priority = CheckboxPriority.textBeforeCheckbox, GroupItemsAlignment? groupItemsAlignment, EdgeInsetsGeometry padding = const EdgeInsets.all(0), EdgeInsetsGeometry margin = const EdgeInsets.all(0), bool textBeforeCheckbox = true, bool textBelowCheckBox = true, MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start, MainAxisAlignment internMainAxisAlignment = MainAxisAlignment.start})
const

Properties

activeColor Color?
The color to use when this checkbox button is checked.
final
checkColor Color?
The color to use for the check icon when this checkbox is checked.
final
child Map<Text, bool?>
The list of the items of the CheckboxGroup
final
focusColor Color?
The color for the checkbox's Material when it has the input focus.
final
groupItemsAlignment GroupItemsAlignment?
The alignment of the CheckboxGroup Items. It can be GroupItemsAlignment.row or GroupItemsAlignment.column
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
internMainAxisAlignment MainAxisAlignment
The internal main axis alignment of the CheckboxGroup
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
mainAxisAlignment MainAxisAlignment
The main axis alignment of the CheckboxGroup
final
margin EdgeInsetsGeometry
Empty space to surround the child.
final
onNewChecked ValueChanged<List<String?>>
A callback to notify that a new check box is checked Return a list of checked items note That only the item Name is returned (A String)
final
padding EdgeInsetsGeometry
Empty space to inscribe inside the RadioGroup.
final
priority CheckboxPriority
Tells if the CheckboxPriority.textBeforeCheckbox is important than CheckboxPriority.textBelowCheckbox or not
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textBeforeCheckbox bool
Tells if the text must come before or after the checkbox
final
textBelowCheckBox bool
Tells if the text must be below the checkbox
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<StatefulWidget>
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