OnboardingTextInput constructor

const OnboardingTextInput({
  1. Key? key,
  2. required TextEditingController controller,
  3. required String hintText,
  4. TextInputType? textInputType,
  5. int? maxLength,
  6. required dynamic onChanged(
    1. String
    ),
  7. String? validator(
    1. String?
    )?,
  8. bool isShowPrefixIcon = false,
  9. Widget? prefixIcon,
  10. bool isShowSuffixIcon = false,
  11. Widget? suffixIcon,
  12. FocusNode? focusNode,
  13. EdgeInsetsGeometry? contentPadding,
  14. Color? fillColor,
  15. Color? borderColor,
  16. Color? hintTextColor,
  17. double? height,
  18. EdgeInsetsGeometry? padding,
  19. double? borderRadius,
  20. double? textSize,
  21. double? iconSize,
  22. bool required = false,
  23. bool isDisabled = false,
  24. bool isAteriskRequired = true,
  25. List<TextInputFormatter>? inputFormatters,
  26. bool autoFocus = false,
})

Implementation

const OnboardingTextInput({
  super.key,
  required this.controller,
  required this.hintText,
  this.textInputType,
  this.maxLength,
  required this.onChanged,
  this.validator,
  this.isShowPrefixIcon = false,
  this.prefixIcon,
  this.isShowSuffixIcon = false,
  this.suffixIcon,
  this.focusNode,
  this.contentPadding,
  this.fillColor,
  this.borderColor,
  this.hintTextColor,
  this.height,
  this.padding,
  this.borderRadius,
  this.textSize,
  this.iconSize,
  this.required = false,
  this.isDisabled = false,
  this.isAteriskRequired = true,
  this.inputFormatters,
  this.autoFocus = false,
});