TenInput constructor

const TenInput({
  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. int? maxLength,
  9. TextEditingController? controller,
  10. TextInputType? keyboardType,
  11. bool autofocus = false,
  12. Widget? prefix,
  13. Widget? suffix,
  14. Key? key,
})

Implementation

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