RadioButton

A radio button. Selecting a radio button de-selects all its siblings (i.e. all radio buttons within the same parent).

Import this type with “”

Type: boolean, default:

The checked state of the radio button.

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 radio button.

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 radio button is selected or deselected 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 .