VentasPrimaryTextField constructor

const VentasPrimaryTextField({
  1. Key? key,
  2. required TextEditingController controller,
  3. required String hintText,
  4. TextInputType? textInputType,
  5. int? maxLength,
  6. required dynamic onChanged(
    1. String
    ),
  7. dynamic onSubmit(
    1. String
    )?,
  8. String? validator(
    1. String?
    )?,
  9. Widget? prefixIcon,
  10. List<TextInputFormatter>? inputFormatters,
  11. Widget? suffixIcon,
  12. bool isPassword = false,
  13. bool iserrorborderShown = false,
  14. FocusNode? focusNode,
  15. EdgeInsetsGeometry? contentPadding,
  16. Color? fillColor,
  17. Color? borderColor,
  18. Color? hintTextColor,
  19. double? height,
  20. double? width,
  21. bool? isEnabled,
  22. TextAlign? textAlignment,
  23. double? radius,
  24. bool? enableInteractive,
  25. dynamic onFocusChange(
    1. String
    )?,
})

Implementation

const VentasPrimaryTextField({
  super.key,
  required this.controller,
  required this.hintText,
  this.textInputType,
  this.maxLength,
  required this.onChanged,
  this.onSubmit,
  this.validator,
  this.prefixIcon,
  this.inputFormatters,
  this.suffixIcon,
  this.isPassword = false,
  this.iserrorborderShown = false,
  this.focusNode,
  this.contentPadding,
  this.fillColor,
  this.borderColor,
  this.hintTextColor,
  this.height,
  this.width,
  this.isEnabled,
  this.textAlignment,
  this.radius,
  this.enableInteractive,
  this.onFocusChange,
});