DanUIFormInputText<T> constructor

const DanUIFormInputText<T>({
  1. Key? key,
  2. required TextEditingController controller,
  3. FocusNode? focusNode,
  4. Widget? label,
  5. Widget? prefixIcon,
  6. dynamic onTapPrefixIcon()?,
  7. bool useSeparator = false,
  8. Color separatorColor = Colors.black54,
  9. double separatorHeight = 24,
  10. double separatorSpace = 10,
  11. TextStyle? style,
  12. String? hintText,
  13. TextStyle? hintStyle,
  14. String? errorMessage,
  15. TextStyle? errorStyle,
  16. bool showBorder = true,
  17. double borderRadius = 8,
  18. Color? borderColor,
  19. Color? borderDisabledColor,
  20. Color? borderFocusedColor,
  21. Color? borderErrorColor,
  22. TextInputType? keyboardType,
  23. List<TextInputFormatter>? inputFormatters,
  24. dynamic onChanged(
    1. String
    )?,
  25. String? validator(
    1. String?
    )?,
  26. int? minLines,
  27. int? maxLines,
  28. TextInputAction? textInputAction,
  29. bool? enabled,
  30. EdgeInsets? contentPadding,
})

Implementation

const DanUIFormInputText({
  super.key,
  required this.controller,
  this.focusNode,
  this.label,
  this.prefixIcon,
  this.onTapPrefixIcon,
  this.useSeparator = false,
  this.separatorColor = Colors.black54,
  this.separatorHeight = 24,
  this.separatorSpace = 10,
  this.style,
  this.hintText,
  this.hintStyle,
  this.errorMessage,
  this.errorStyle,
  this.showBorder = true,
  this.borderRadius = 8,
  this.borderColor,
  this.borderDisabledColor,
  this.borderFocusedColor,
  this.borderErrorColor,
  this.keyboardType,
  this.inputFormatters,
  this.onChanged,
  this.validator,
  this.minLines,
  this.maxLines,
  this.textInputAction,
  this.enabled,
  this.contentPadding,
});