TTextField constructor

TTextField({
  1. Key? key,
  2. TextEditingController? controller,
  3. FocusNode? focusNode,
  4. Widget? label,
  5. String? hintText,
  6. int? maxLines = 1,
  7. bool isSelectedAll = false,
  8. TextInputType? textInputType,
  9. List<TextInputFormatter>? inputFormatters,
  10. String? errorText,
  11. void onChanged(
    1. String value
    )?,
  12. void onTap()?,
  13. void onSubmitted(
    1. String value
    )?,
  14. TextStyle? style,
  15. bool autofocus = false,
  16. 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,
});