Skip to main content

Examples

Properties

Required

bool
required
The current checked state of the checkbox. true represents checked, false represents unchecked.
ValueChanged<bool>
required
Callback function called when the checkbox state changes. Receives the new boolean value.

Content

String
The text label displayed next to the checkbox.
String
Additional descriptive text displayed below the label. Useful for providing context or additional information about the option.

State

bool
default:"false"
Whether the checkbox is in an indeterminate state. When true, displays a minus icon regardless of the isChecked value. Commonly used for “select all” checkboxes when only some items are selected.
bool
default:"true"
Whether the checkbox is interactive. When false, the checkbox appears with reduced opacity and doesn’t respond to user interactions.

Best Practices

  • Call NeoHaptics in onChanged when you want press feedback. The checkbox does not play haptics on its own.

Behavior

  • A tap on the box, the label, the description, or the space between them toggles the checkbox.
  • When the checkbox is wider than its content, a tap in that extra width toggles it too.
Last modified on October 4, 2026