const
Widget.checkbox(- {Key? key,
- required bool? value,
- @Default(false) bool tristate,
- FormBoolField? field,
- MouseCursor? mouseCursor,
- Color? activeColor,
- MaterialStateProperty? fillColor,
- Color? checkColor,
- Color? focusColor,
- Color? hoverColor,
- MaterialStateProperty? overlayColor,
- double? splashRadius,
- MaterialTapTargetSize? materialTapTargetSize,
- VisualDensity? visualDensity,
- @Default(false) bool autofocus,
- ShapeBorder? shape,
- BorderSide? side,
- @Default(false) bool isError}
)
Implementation
const factory Widget.checkbox({
Key? key,
required bool? value,
@Default(false) bool tristate,
FormBoolField? field,
MouseCursor? mouseCursor,
Color? activeColor,
MaterialStateProperty? fillColor,
Color? checkColor,
Color? focusColor,
Color? hoverColor,
MaterialStateProperty? overlayColor,
double? splashRadius,
MaterialTapTargetSize? materialTapTargetSize,
VisualDensity? visualDensity,
@Default(false) bool autofocus,
ShapeBorder? shape,
BorderSide? side,
@Default(false) bool isError,
}) = Checkbox;