OptimusCheckBoxFormField constructor
const
OptimusCheckBoxFormField({
- Key? key,
- required Widget label,
- ValueChanged<
bool?> ? onSaved, - bool initialValue = false,
- bool isEnabled = true,
- OptimusCheckboxSize size = OptimusCheckboxSize.large,
- FormFieldValidator<
bool> ? validator, - AutovalidateMode? autovalidateMode,
Implementation
const OptimusCheckBoxFormField({
super.key,
required this.label,
this.onSaved,
this.initialValue = false,
this.isEnabled = true,
this.size = OptimusCheckboxSize.large,
this.validator,
this.autovalidateMode,
});