TTextField constructor
TTextField({
- Key? key,
- TextEditingController? controller,
- FocusNode? focusNode,
- Widget? label,
- String? hintText,
- int? maxLines = 1,
- bool isSelectedAll = false,
- TextInputType? textInputType,
- List<
TextInputFormatter> ? inputFormatters, - String? errorText,
- void onChanged(
- String value
- void onTap()?,
- void onSubmitted(
- String value
- TextStyle? style,
- bool autofocus = false,
- bool? enabled,
Implementation
TTextField({
super.key,
this.controller,
this.focusNode,
this.label,
this.hintText,
this.maxLines = 1,
this.isSelectedAll = false,
this.textInputType,
this.inputFormatters,
this.errorText,
this.onChanged,
this.onTap,
this.onSubmitted,
this.style,
this.autofocus=false,
this.enabled,
});