let checkbox = |
#label: &string = &"",
#on_toggle: fn(b: bool) -> Any = |_| null,
#width: &Length = &`Shrink,
#size: &[f64, null] = &null,
#spacing: &[f64, null] = &null,
#disabled: &bool = &false,
is_checked: &bool
| -> Widget `Checkbox({ is_checked, label, on_toggle: &on_toggle, size, spacing, width, disabled })