Try Install Learn Blog API Packages GitHub
Pages
mint-ui

Search
Basic information
Entities
Versions
Dependencies
mint-color 0.5.0 <= v < 1.0.0

Ui.Checkbox

A simple checkbox component.

Properties

checked
:
Bool
=
false

Whether or not the checkbox is checked.

disabled
:
Bool
=
false

Whether or not the checkbox is disabled.

onChange
:
Function(Bool, Promise(Never, Void))
=
Promise.never1

The handler for the change event.

size
:
Ui.Size
=
Ui.Size::Inherit

The size of the checkbox.

Functions

focus
:
Promise(Never, Void)

Focuses the checkbox.

render
:
Html

Renders the checkbox.

toggle
:
Promise(Never, Void)

Toggles the checkbox.