Skip to main content

Module checkbox

Module checkbox 

Source
Expand description

Checkbox — a boolean toggle with a label.

§Composition

The checkbox label is rendered through a Label child with backbuffer caching enabled (the default). The box + checkmark are drawn directly via path commands; only the text goes through the Label path.

Checkbox (box + checkmark drawn via paths)
  └── Label (text, backbuffered)

Structs§

Checkbox
A boolean toggle with a square box and a text label.
CheckboxProps
Inspector-visible properties of a Checkbox. See [SliderProps] for the rationale of the companion-props pattern.