CupertinoCheckboxData class final
Cupertino-specific configuration for a checkbox widget.
Extends PlatformCheckboxData with Cupertino-only properties.
- Inheritance
-
- Object
- PlatformCheckboxData
- CupertinoCheckboxData
Constructors
-
CupertinoCheckboxData({ValueChanged<
bool?> ? onChanged, bool? value, bool tristate = false, bool isEnabled = true, Key? widgetKey, MouseCursor? mouseCursor, Color? activeColor, WidgetStateProperty<Color?> ? fillColor, Color? checkColor, Color? focusColor, FocusNode? focusNode, bool autofocus = kDefaultAutofocus, OutlinedBorder? shape, BorderSide? side, String? semanticLabel, Size? tapTargetSize}) -
Creates Cupertino-specific checkbox configuration.
const
Properties
- activeColor → Color?
-
Color of the checkbox when active.
finalinherited
- autofocus → bool
-
Whether the checkbox should autofocus.
finalinherited
- checkColor → Color?
-
Color of the check mark.
finalinherited
-
fillColor
→ WidgetStateProperty<
Color?> ? -
Fill color as a WidgetStateProperty.
finalinherited
- focusColor → Color?
-
Color of the checkbox when focused.
finalinherited
- focusNode → FocusNode?
-
Focus node for the checkbox.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEnabled → bool
-
Whether the checkbox is enabled.
finalinherited
- mouseCursor → MouseCursor?
-
Mouse cursor when hovering over the checkbox.
finalinherited
-
onChanged
→ ValueChanged<
bool?> ? -
Callback when the checkbox value changes.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- semanticLabel → String?
-
Semantic label for accessibility.
finalinherited
- shape → OutlinedBorder?
-
Shape of the checkbox border.
finalinherited
- side → BorderSide?
-
Border side of the checkbox.
finalinherited
- tapTargetSize → Size?
-
Custom tap target size for the checkbox.
final
- tristate → bool
-
Whether the checkbox supports three states (true, false, null).
finalinherited
- value → bool?
-
Current value of the checkbox.
finalinherited
- widgetKey → Key?
-
Key applied to the underlying platform widget.
finalinherited
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