UsernameInput constructor

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

Implementation

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