forms::checkbox

Structs

Checkbox

A checkbox control, delegating to a platform-specific native checkbox.

Properties

background

Type: Property<Color>

The background color when unchecked

background_checked

Type: Property<Color>

The background color when checked

outline

Type: Property<Stroke>

The outline stroke of the checkbox

corner_radius

Type: Property<f64>

The border radius of the checkbox

checked

Type: Property<bool>

Whether the checkbox is currently checked