FormField<T> constructor
const
FormField<T> ({})
Creates a FormField with the given initialValue and optional validator.
Implementation
const FormField({
super.key,
required this.initialValue,
this.validator,
this.onSaved,
required this.builder,
});