NameField constructor
const
NameField({
- Key? key,
- bool? enabled,
- FocusNode? focusNode,
- required String fieldHintText,
- required Key formFieldKey,
- TextEditingController? controller,
- OnChangedString? onChanged,
- String? formHintText,
- OnChangedString? onSubmitted,
- String? error,
Implementation
const NameField({
Key? key,
bool? enabled,
FocusNode? focusNode,
required this.fieldHintText,
required this.formFieldKey,
this.controller,
this.onChanged,
this.formHintText,
this.onSubmitted,
this.error,
}) : _focusNode = focusNode,
enabled = enabled ?? true,
super(key: key);