AsyncTextFormField constructor
const
AsyncTextFormField({ - Key? key,
- required Future<String?> validator(
- String? value
),
- TextStyle? style,
- String? initialValue,
- void onChanged(
- String value
)?,
- InputDecoration? decoration,
- StrutStyle? strutStyle,
- FocusNode? focusNode,
- Widget prefixIconBuilder(
- AsyncFormStates state
)?,
- TextAlign textAlign = TextAlign.start,
- required Duration validationDebounce,
- TextEditingController? controller,
- double cursorWidth = 2,
- TextDirection? textDecoration,
- int maxLines = 1,
- bool expands = false,
- Color? cursorColor,
- String? validatingMessage,
})
Implementation
const AsyncTextFormField(
{super.key,
required this.validator,
this.style,
this.initialValue,
this.onChanged,
this.decoration,
this.strutStyle,
this.focusNode,
this.prefixIconBuilder,
this.textAlign = TextAlign.start,
required this.validationDebounce,
this.controller,
this.cursorWidth = 2,
this.textDecoration,
this.maxLines = 1,
this.expands = false,
this.cursorColor,
this.validatingMessage});