CheckBox

A check box widget.

Import this type with “”

Type: boolean, default:

The checked state of the check box.

checkedTintColor

iOSAndroid

Type:

The color of the selectable area in checked state. Will fall back to if not set.

text

Type: string

The label text of the check box.

Type:

tintColor

iOSAndroid

Type:

The color of the selectable area.

checkedChanged

Fired when the property has changed.

Event Parameters

  • value: boolean The new value of .

Fired when the checkedTintColor property has changed.

Event Parameters

  • target: this The widget the event was fired on.

  • value: Color The new value of .

select

Fired when the check box is checked or unchecked by the user.

Event Parameters

  • checked: boolean The new value of checked.

textChanged

Fired when the text property has changed.

Event Parameters

  • target: this The widget the event was fired on.

  • value: string The new value of text.

Fired when the property has changed.

Event Parameters

tintColorChanged

Fired when the tintColor property has changed.

Event Parameters

  • target: this The widget the event was fired on.

  • value: Color The new value of .