EmailInput constructor

const EmailInput({
  1. Key? key,
  2. TextEditingController? controller,
  3. String? validator(
    1. String?
    )?,
  4. String? hintText,
  5. EdgeInsetsGeometry? contentPadding,
  6. TextStyle? labelStyle,
  7. TextStyle? textStyle,
  8. StrutStyle? strutStyle,
  9. dynamic onChanged(
    1. String
    )?,
  10. GestureTapCallback? onTap,
  11. Widget? prefixIcon,
  12. String? labelText,
  13. String? helperText,
  14. bool isEnabled = true,
})

Implementation

const EmailInput({
  super.key,
  this.controller,
  this.validator,
  this.hintText,
  this.contentPadding,
  this.labelStyle,
  this.textStyle,
  this.strutStyle,
  this.onChanged,
  this.onTap,
  this.prefixIcon,
  this.labelText,
  this.helperText,
  this.isEnabled = true,
});