CheckboxBehavior class abstract final

What Compose's Checkbox sets in code (behavior.yaml, verified at the pin).

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

boxInColorMotion → const ExpressiveMotionKey
The spring a checkbox's box colour animates with when it checks. (Checkbox.kt line 1047.)
boxOutColorMotion → const ExpressiveMotionKey
The spring a checkbox's box colour animates with when it unchecks. (Checkbox.kt line 1044.)
boxPadding → const Dp
The padding around the box, inside the touch target (CheckboxDefaultPadding). (Checkbox.kt line 1065.)
boxSize → const Dp
The checkbox's drawn box (CheckboxSize) while the styling-fix flag is off, the jar's default; CheckboxTokens.ContainerSize (18) applies only with it. (Checkbox.kt line 1067.)
checkCenter → const double
Where the indeterminate dash gathers the check's points: the box's centre line, as a fraction (the crossCenterGravitation lerp target). (Checkbox.kt line 720.)
checkCrossX → const double
The check mark's corner, x, as a fraction of the box. (Checkbox.kt line 713.)
checkCrossY → const double
The check mark's corner, y, as a fraction of the box (flag off). (Checkbox.kt line 714.)
checkLeftX → const double
The check mark's start, x, as a fraction of the box (flag off). (Checkbox.kt line 715.)
checkLeftY → const double
The check mark's start, y, as a fraction of the box. (Checkbox.kt line 716.)
checkMotion → const ExpressiveMotionKey
The spring a checkbox's check mark draws with. (Checkbox.kt line 596.)
checkRightX → const double
The check mark's end, x, as a fraction of the box (flag off). (Checkbox.kt line 717.)
checkRightY → const double
The check mark's end, y, as a fraction of the box. (Checkbox.kt line 718.)
cornerRadius → const Dp
The box's corner radius (RadiusSize). (Checkbox.kt line 1069.)
strokeWidth → const Dp
The outline and check-mark stroke (CheckboxDefaults.StrokeWidth). (Checkbox.kt line 482.)