Null safety for autovalidateMode
This commit is contained in:
parent
a8848b2ff3
commit
9f0ca548ef
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ class CheckboxIconFormField extends FormField<bool> {
|
||||||
BuildContext? context,
|
BuildContext? context,
|
||||||
FormFieldSetter<bool>? onSaved,
|
FormFieldSetter<bool>? onSaved,
|
||||||
bool initialValue = false,
|
bool initialValue = false,
|
||||||
AutovalidateMode autovalidateMode,
|
AutovalidateMode? autovalidateMode,
|
||||||
bool enabled = true,
|
bool enabled = true,
|
||||||
IconData trueIcon = Icons.check,
|
IconData trueIcon = Icons.check,
|
||||||
IconData falseIcon = Icons.check_box_outline_blank,
|
IconData falseIcon = Icons.check_box_outline_blank,
|
||||||
|
|
|
@ -9,7 +9,7 @@ class CheckboxListTileFormField extends FormField<bool> {
|
||||||
FormFieldSetter<bool>? onSaved,
|
FormFieldSetter<bool>? onSaved,
|
||||||
FormFieldValidator<bool>? validator,
|
FormFieldValidator<bool>? validator,
|
||||||
bool initialValue = false,
|
bool initialValue = false,
|
||||||
AutovalidateMode autovalidateMode,
|
AutovalidateMode? autovalidateMode,
|
||||||
bool enabled = true,
|
bool enabled = true,
|
||||||
bool dense = false,
|
bool dense = false,
|
||||||
Color? errorColor,
|
Color? errorColor,
|
||||||
|
|
Loading…
Reference in a new issue