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. String? validator(
    1. String?
    )?,
  8. Widget? prefixIcon,
  9. List<TextInputFormatter>? inputFormatters,
  10. Widget? suffixIcon,
  11. bool isPassword = false,
  12. bool iserrorborderShown = false,
  13. FocusNode? focusNode,
  14. EdgeInsetsGeometry? contentPadding,
  15. Color? fillColor,
  16. Color? borderColor,
  17. Color? hintTextColor,
  18. double? height,
})

Implementation

const VentasPrimaryTextField({
  super.key,
  required this.controller,
  required this.hintText,
  this.textInputType,
  this.maxLength,
  required this.onChanged,
  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,
});