Flutter Checkbox, scaled to its box (40 px is Flutter's own size,
18 px when compact).
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
activeColor
→ const PropDef<
Color?> - The box's fill when checked.
-
activeSide
→ const PropDef<
BorderSide?> -
The border when checked (a
WidgetStateBorderSide); null keeps side. -
autofocus
→ const PropDef<
bool> -
borderRadius
→ const PropDef<
BorderRadius?> -
The box's corners (
shape: RoundedRectangleBorder(borderRadius)). -
checkColor
→ const PropDef<
Color?> -
compact
→ const PropDef<
bool> - Its box is the checkbox itself (18 px), not its tap target (40 px). The box and its check mark scale to the node, but its borderRadius and sides' widths are node pixels.
-
fillColor
→ const PropDef<
Color?> -
The box's fill when unchecked (
fillColorfor the unselected states); activeColor fills it checked. Null keeps Flutter's (transparent). -
focusColor
→ const PropDef<
Color?> -
hoverColor
→ const PropDef<
Color?> -
label
→ const PropDef<
String> -
Text beside it (SSUI's label; Flutter has
CheckboxListTilefor this): tapping it toggles too, and it names the control to a screen reader. Empty: the bare control. -
side
→ const PropDef<
BorderSide?> - spec → const WidgetSpec
-
splashRadius
→ const PropDef<
double?> -
tristate
→ const PropDef<
bool> -
value
→ const PropDef<
bool?> - Null is the indeterminate state (with tristate).