toggleField
Create a boolean StateField with toggle and set effects.
Return
a ToggleFieldHandle with the field and effect types
Parameters
default
the initial value of the field
Create a boolean StateField with toggle and set effects.
a ToggleFieldHandle with the field and effect types
the initial value of the field