TenInputAutoShowClear constructor

const TenInputAutoShowClear({
  1. required void onChanged(
    1. String
    ),
  2. void onSubmitted(
    1. String
    )?,
  3. Widget? titleWidget,
  4. double borderRadius = 12.0,
  5. String? errorText,
  6. String? hintText,
  7. bool showCharCount = false,
  8. bool autoSetState = false,
  9. int? maxLength,
  10. TextEditingController? controller,
  11. void onChangeFocus(
    1. bool
    )?,
  12. TextInputType? keyboardType,
  13. bool autofocus = false,
  14. Widget? prefix,
  15. Widget? suffix,
  16. Key? key,
})

Implementation

const TenInputAutoShowClear(
    {required this.onChanged,
    this.onSubmitted,
    this.titleWidget,
    this.borderRadius = 12.0,
    this.errorText,
    this.hintText,
    this.showCharCount = false,
    this.autoSetState = false,
    this.maxLength,
    this.controller,
    this.onChangeFocus,
    this.keyboardType,
    this.autofocus = false,
    this.prefix,
    this.suffix,
    super.key});