TextFormInput constructor
const
TextFormInput({
- Key? key,
- String? text,
- Widget? icon,
- bool autoFocus = false,
- bool isPassword = false,
- TextEditingController? controller,
- String? hintText,
- TextInputType? keyboardType,
- int minLines = 1,
- int maxLines = 1,
- bool enabled = true,
- EdgeInsetsGeometry? contentPadding,
- int? maxLength,
- List<
TextInputFormatter> ? inputFormatters, - String? errorText,
- required String label,
- ValueChanged<
String> ? onChanged, - TextInputAction? textInputAction,
- FocusNode? focusNode,
- dynamic onSubmited()?,
- FormFieldValidator<
String> ? validator,
Implementation
const TextFormInput(
{Key? key,
this.text,
this.icon,
this.autoFocus = false,
this.isPassword = false,
this.controller,
this.hintText,
this.keyboardType,
this.minLines = 1,
this.maxLines = 1,
this.enabled = true,
this.contentPadding,
this.maxLength,
this.inputFormatters,
this.errorText,
required this.label,
this.onChanged,
this.textInputAction,
this.focusNode,
this.onSubmited,
this.validator})
: super(key: key);