UKitCheckbox class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- UKitCheckbox
Constructors
-
UKitCheckbox.new({Key? key, required List<
String> itemList, List<String> ? displayList, required CheckboxOrientation orientation, required Function onChanged, List<String> ? checkedItemList, UKitCheckboxBuilder? as, List<String> disabled = const [], MaterialTapTargetSize? materialTapTargetSize, bool tristate = false, bool labelStart = false, 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}) -
const
Properties
- as → UKitCheckboxBuilder?
-
final
-
checkedItemList
→ List<
String> ? -
final
-
disabled
→ List<
String> -
final
-
displayList
→ List<
String> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
itemList
→ List<
String> -
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- labelStart → bool
-
Label Position.
final
- materialTapTargetSize → MaterialTapTargetSize?
-
Configures the minimum size of the tap target.
final
- onChanged → Function
-
Called when the value of the checkbox group changes.
final
- orientation → CheckboxOrientation
-
Specifies the orientation of the elements in itemList.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tristate → bool
-
If true the checkbox's value can be true, false, or null.
final
- wrapAlignment → WrapAlignment
-
final
- wrapCrossAxisAlignment → WrapCrossAlignment
-
final
- wrapDirection → Axis
-
final
- wrapRunAlignment → WrapAlignment
-
final
- wrapRunSpacing → double
-
Defaults to 0.0.
final
- wrapSpacing → double
-
Defaults to 0.0.
final
- wrapTextDirection → TextDirection?
-
final
- wrapVerticalDirection → VerticalDirection
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< UKitCheckbox> -
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, int wrapWidth = 65}) → 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