CheckboxB function
Checkbox
CheckboxB(
- Binder<
bool?> binder, { - Key? key,
- bool tristate = false,
- MouseCursor? mouseCursor,
- Color? activeColor,
- WidgetStateProperty<
Color?> ? fillColor, - Color? checkColor,
- Color? focusColor,
- Color? hoverColor,
- WidgetStateProperty<
Color?> ? overlayColor, - double? splashRadius,
- MaterialTapTargetSize? materialTapTargetSize,
- VisualDensity? visualDensity,
- FocusNode? focusNode,
- bool autofocus = false,
- OutlinedBorder? shape,
- BorderSide? side,
- bool isError = false,
- String? semanticLabel,
Implementation
Checkbox CheckboxB(
Binder<bool?> binder, {
Key? key,
bool tristate = false,
MouseCursor? mouseCursor,
Color? activeColor,
WidgetStateProperty<Color?>? fillColor,
Color? checkColor,
Color? focusColor,
Color? hoverColor,
WidgetStateProperty<Color?>? overlayColor,
double? splashRadius,
MaterialTapTargetSize? materialTapTargetSize,
VisualDensity? visualDensity,
FocusNode? focusNode,
bool autofocus = false,
OutlinedBorder? shape,
BorderSide? side,
bool isError = false,
String? semanticLabel,
}) {
return Checkbox(
value: binder.value,
onChanged: (b) {
binder.value = b;
binder.fireUpdateUI();
binder.fireChanged();
},
key: key,
tristate: tristate,
mouseCursor: mouseCursor,
activeColor: activeColor,
fillColor: fillColor,
checkColor: checkColor,
focusColor: focusColor,
hoverColor: hoverColor,
overlayColor: overlayColor,
splashRadius: splashRadius,
materialTapTargetSize: materialTapTargetSize,
visualDensity: visualDensity,
focusNode: focusNode,
autofocus: autofocus,
shape: shape,
side: side,
isError: isError,
semanticLabel: semanticLabel,
);
}