Documentation
¶
Overview ¶
Package checkbox contains Material 3 Checkbox components.
Reference: Checkbox(https://m3.material.io/components/checkbox/overview) Specs: [Checkbox Specs](https://m3.material.io/components/checkbox/specs)
Index ¶
Constants ¶
View Source
const Material3CheckboxNodeID = "Material3Checkbox"
Variables ¶
View Source
var EmptyModifier = modifier.EmptyModifier
Functions ¶
This section is empty.
Types ¶
type CheckboxOption ¶
type CheckboxOption func(*CheckboxOptions)
func WithModifier ¶
func WithModifier(m Modifier) CheckboxOption
type CheckboxOptions ¶
type CheckboxOptions struct {
Modifier Modifier
}
func DefaultCheckboxOptions ¶
func DefaultCheckboxOptions() CheckboxOptions
type Composable ¶
type Composable = api.Composable
func Checkbox ¶
func Checkbox( checked bool, onCheckedChange func(bool), options ...CheckboxOption, ) Composable
Checkbox creates a Material3 checkbox.
type HandlerWrapper ¶
type HandlerWrapper struct {
Func func(bool)
}
Click to show internal directories.
Click to hide internal directories.