CustominputText constructor

const CustominputText({
  1. Key? key,
  2. TextEditingController? textEditingController,
  3. bool? autoFocus,
  4. dynamic onChanged(
    1. String
    )?,
  5. bool? isEnabled = true,
  6. bool? enableInteractiveSelection,
  7. TextInputType? textInputType,
  8. bool? showPassword,
  9. String? validator(
    1. String?
    )?,
  10. TextInputAction? textInputAction,
  11. Widget? prefixWidget,
  12. Widget? suffixWidget,
  13. Color? textInputBackgroundColor,
  14. double? borderRadius,
  15. String? hintText,
  16. EdgeInsets? edgeInsets,
  17. FocusNode? focusNode,
  18. int? maxLength,
  19. int? maxLines,
  20. InputBorder? border,
  21. String? labelText,
  22. bool? alignLabelWithHint,
  23. void onFieldSubmitted(
    1. String
    )?,
  24. void onTap()?,
  25. bool? readOnly,
})

Implementation

const CustominputText(
    {super.key,
    this.textEditingController,
    this.autoFocus,
    this.onChanged,
    this.isEnabled = true,
    this.enableInteractiveSelection,
    this.textInputType,
    this.showPassword,
    this.validator,
    this.textInputAction,
    this.prefixWidget,
    this.suffixWidget,
    this.textInputBackgroundColor,
    this.borderRadius,
    this.hintText,
    this.edgeInsets,
    this.focusNode,
    this.maxLength,
    this.maxLines,
    this.border,
    this.labelText,
    this.alignLabelWithHint,
    this.onFieldSubmitted,
    this.onTap,
    this.readOnly});