Widgets
Toggle
Checkbox bound to a boolean state or a plain value.
Toggle accepts either a *StateValue[bool] for reactive binding or a
plain bool for transient (read-only) rendering.
State-driven
Toggling writes through to the state and triggers a re-render.
Plain boolean inside a list row
List rows often reconstruct on every update, so you usually bind the toggle
to the row's current value and wire OnChange back to a model mutation:
Any argument that is neither *StateValue[bool] nor bool panics at
construction time.