TermosTextField constructor
const
TermosTextField({
- Key? key,
- String? label,
- required TextEditingController controller,
- FocusNode? focusNode,
- String? hintText,
- TermosTextFieldStyle textFieldStyle = TermosTextFieldStyle.code,
- TextStyle? style,
- TextStyle? hintStyle,
- int maxLines = 1,
- int? minLines,
- bool autofocus = false,
- bool enabled = true,
- bool readOnly = false,
- bool obscureText = false,
- ValueChanged<
String> ? onChanged, - ValueChanged<
String> ? onSubmitted, - TextInputAction? textInputAction,
- TextInputType? keyboardType,
- List<
TextInputFormatter> ? inputFormatters, - Widget? suffixIcon,
- double labelSpacing = 8,
Implementation
const TermosTextField({
super.key,
this.label,
required this.controller,
this.focusNode,
this.hintText,
this.textFieldStyle = TermosTextFieldStyle.code,
this.style,
this.hintStyle,
this.maxLines = 1,
this.minLines,
this.autofocus = false,
this.enabled = true,
this.readOnly = false,
this.obscureText = false,
this.onChanged,
this.onSubmitted,
this.textInputAction,
this.keyboardType,
this.inputFormatters,
this.suffixIcon,
this.labelSpacing = 8,
});