Checkbox component for toggling boolean value related to some context


valueThe value of the Checkbox. If true the switch will be turned on. Default value is false.bool
onValueChangeInvoked with the new value when the value changes.func
disabledWhether the checkbox should be disabledbool
colorThe Checkbox colorstring
sizeThe size of the checkbox. affect both width and heightnumber
borderRadiusThe Checkbox border radiusnumber
selectedIconThe icon asset to use for the selected indication (accept only local assets)number
iconColorThe selected icon colorstring