FormField<T> constructor
FormField<T> ({})
Creates a FormField with common properties.
Implementation
FormField({
required this.label,
this.description = '',
this.initialValue,
this.validator,
bool focused = false,
}) : value = initialValue,
_focused = focused;