|
|
|
|
@ -19,7 +19,9 @@ class AppTextFormField extends FormField<String> {
|
|
|
|
|
bool autovalidate = true,
|
|
|
|
|
TextInputType textInputType,
|
|
|
|
|
String hintText,
|
|
|
|
|
FocusNode focusNode
|
|
|
|
|
FocusNode focusNode,
|
|
|
|
|
TextInputAction textInputAction,
|
|
|
|
|
ValueChanged<String> onFieldSubmitted,
|
|
|
|
|
}) : super(
|
|
|
|
|
onSaved: onSaved,
|
|
|
|
|
validator: validator,
|
|
|
|
|
@ -34,6 +36,8 @@ class AppTextFormField extends FormField<String> {
|
|
|
|
|
onChanged: onChanged?? (value){
|
|
|
|
|
state.didChange(value);
|
|
|
|
|
},
|
|
|
|
|
textInputAction: textInputAction,
|
|
|
|
|
onFieldSubmitted: onFieldSubmitted,
|
|
|
|
|
decoration: InputDecoration(
|
|
|
|
|
hintText: hintText,
|
|
|
|
|
hintStyle: TextStyle(fontSize: SizeConfig.textMultiplier * 2),
|
|
|
|
|
|