EWTextField constructor

const EWTextField({
  1. bool obscure = false,
  2. AutovalidateMode autoValidateMode = AutovalidateMode.onUserInteraction,
  3. int? errorMaxLines = 1,
  4. TextEditingController? controller,
  5. TextInputType? keyboardType,
  6. TextStyle? textStyle,
  7. String? validator(
    1. String?
    )?,
  8. String? hintText,
  9. Widget? prefixIcon,
  10. String? errorText,
  11. Color? cursorColor,
  12. Widget? suffixIcon,
  13. Key? key,
})

Implementation

const EWTextField({
  this.obscure = false,
  this.autoValidateMode = AutovalidateMode.onUserInteraction,
  this.errorMaxLines = 1,
  this.controller,
  this.keyboardType,
  this.textStyle,
  this.validator,
  this.hintText,
  this.prefixIcon,
  this.errorText,
  this.cursorColor,
  this.suffixIcon,
  Key? key,
}) : super(key: key);