⌂
›
Reference
›
CupertinoCheckbox
CupertinoCheckbox
CupertinoCheckbox control. Build it with the cupertino_checkbox helper.
Example
cupertino_checkbox(
value: "Sample",
label: "Label",
expand: true,
width: 240,
on_change: ->(event) {}
)
Properties
active_color— Active color.autofocus— Requests focus when first shown.border_sidecheck_color— Check color.fill_color— Fill color.focus_color— Color shown while focused.label— Text label shown for the control.label_positionmouse_cursor— Cursor shown when hovering the control.semantics_labelshape— Shape/border of the control.spacingtristatevalue— The control's current value.
Plus the common layout and animation properties shared by most controls (expand, visible, disabled, opacity, width, height, align, tooltip, animate_*, …).
Events
on_animation_end— Fired when an animation completes.on_blur— Fired when the control loses focus.on_change— Fired when the value changes.on_focus— Fired when the control gains focus.on_size_change— Fired when the control's size changes.
Reference
- Family:
cupertinos - Widget type:
cupertinocheckbox - Helper:
cupertino_checkbox