models/types library
Typedefs
-
FormKey
= GlobalKey<
FormState> - A type alias for a form key.
-
FormValidator<
E> = String? Function(Map< E, GlobalKey< fields)FormFieldState> > - A type alias for a form validator.
-
ValidatorFn<
T> = String? Function(T? value, BuildContext context) - A type alias for a validator function.
-
ValidatorFn2<
T> = String? Function(T? value) - A type alias for a validator function.