OudsInputDecoration constructor

OudsInputDecoration({
  1. String? labelText,
  2. String? helperText,
  3. String? hintText,
  4. OudsTextInputSuffixIconButton? suffixIcon,
  5. OudsIcon? prefixIcon,
  6. String? prefix,
  7. bool hasPrefix = false,
  8. String? suffix,
  9. String? errorText,
  10. OudsTextInputLoader? loader,
  11. bool? outlined = false,
  12. bool constrainedMaxWidth = false,
})

Creates an instance of OudsInputDecoration, which is an alias for OudsFormInputDecoration.

All parameters are forwarded to the superclass OudsFormInputDecoration.

labelText, helperText, etc., are optional and default to null.

Implementation

OudsInputDecoration({
  super.labelText,
  super.helperText,
  super.hintText,
  super.suffixIcon,
  super.prefixIcon,
  super.prefix,
  super.hasPrefix,
  super.suffix,
  super.errorText,
  super.loader,
  super.outlined = false,
  super.constrainedMaxWidth = false,
});