StandardTextField constructor
const
StandardTextField({
- Key? key,
- String? initialValue,
- FormFieldValidator<
String> ? validator, - int? minLines,
- int? maxLines,
- int? maxLength,
- FocusNode? focusNode,
- TextInputAction? textInputAction,
- dynamic onEditingComplete()?,
- TextEditingController? controller,
- bool enabled = true,
- bool autofocus = false,
- String? labelText,
- dynamic onChanged()?,
- GestureTapCallback? onTap,
- Iterable<
String> ? autofillHints = const [], - InputDecoration? decoration,
- TextStyle? style,
- dynamic onFocusLost()?,
- TextInputType keyboardType = TextInputType.text,
- bool? readOnly,
- List<
TextInputFormatter> ? inputFormatters,
Implementation
const StandardTextField({
super.key,
this.initialValue,
this.validator,
this.minLines,
this.maxLines,
this.maxLength,
this.focusNode,
this.textInputAction,
this.onEditingComplete,
this.controller,
this.enabled = true,
this.autofocus = false,
this.labelText,
this.onChanged,
this.onTap,
this.autofillHints = const [],
this.decoration,
this.style,
this.onFocusLost,
this.keyboardType = TextInputType.text,
this.readOnly,
this.inputFormatters,
});