A view that toggles between two states when clicked, displaying or hiding a check mark accordingly.
Stating which of the two states the view is currently in, false meaning unchecked and true meaning checked. Default to false.
val |
A Boolean. |
The text displayed next to the check mark.
The action object evaluated whenever the user toggles the state.
The -value.
True if the current drag data is a Boolean.
Sets -valueAction to the current drag data.