completeWith method

InputDecoration completeWith({
  1. Widget? icon,
  2. String? labelText,
  3. TextStyle? labelStyle,
  4. String? helperText,
  5. TextStyle? helperStyle,
  6. int? helperMaxLines,
  7. String? hintText,
  8. TextStyle? hintStyle,
  9. int? hintMaxLines,
  10. String? errorText,
  11. TextStyle? errorStyle,
  12. int? errorMaxLines,
  13. FloatingLabelBehavior? floatingLabelBehavior,
  14. bool? isDense,
  15. EdgeInsetsGeometry? contentPadding,
  16. Widget? prefixIcon,
  17. Widget? prefix,
  18. String? prefixText,
  19. TextStyle? prefixStyle,
  20. Widget? suffixIcon,
  21. Widget? suffix,
  22. String? suffixText,
  23. TextStyle? suffixStyle,
  24. Widget? counter,
  25. String? counterText,
  26. TextStyle? counterStyle,
  27. bool? filled,
  28. Color? fillColor,
  29. Color? focusColor,
  30. Color? hoverColor,
  31. InputBorder? errorBorder,
  32. InputBorder? focusedBorder,
  33. InputBorder? focusedErrorBorder,
  34. InputBorder? disabledBorder,
  35. InputBorder? enabledBorder,
  36. InputBorder? border,
  37. String? semanticCounterText,
  38. bool? alignLabelWithHint,
})

Implementation

InputDecoration completeWith({
  Widget? icon,
  String? labelText,
  TextStyle? labelStyle,
  String? helperText,
  TextStyle? helperStyle,
  int? helperMaxLines,
  String? hintText,
  TextStyle? hintStyle,
  int? hintMaxLines,
  String? errorText,
  TextStyle? errorStyle,
  int? errorMaxLines,
  FloatingLabelBehavior? floatingLabelBehavior,
  bool? isDense,
  EdgeInsetsGeometry? contentPadding,
  Widget? prefixIcon,
  Widget? prefix,
  String? prefixText,
  TextStyle? prefixStyle,
  Widget? suffixIcon,
  Widget? suffix,
  String? suffixText,
  TextStyle? suffixStyle,
  Widget? counter,
  String? counterText,
  TextStyle? counterStyle,
  bool? filled,
  Color? fillColor,
  Color? focusColor,
  Color? hoverColor,
  InputBorder? errorBorder,
  InputBorder? focusedBorder,
  InputBorder? focusedErrorBorder,
  InputBorder? disabledBorder,
  InputBorder? enabledBorder,
  InputBorder? border,
  String? semanticCounterText,
  bool? alignLabelWithHint,
}) {
  return InputDecoration(
    icon: this.icon ?? icon,
    labelText: this.labelText ?? labelText,
    labelStyle: this.labelStyle ?? labelStyle,
    helperText: this.helperText ?? helperText,
    helperStyle: this.helperStyle ?? helperStyle,
    helperMaxLines: this.helperMaxLines ?? helperMaxLines,
    hintText: this.hintText ?? hintText,
    hintStyle: this.hintStyle ?? hintStyle,
    hintMaxLines: this.hintMaxLines ?? hintMaxLines,
    errorText: this.errorText ?? errorText,
    errorStyle: this.errorStyle ?? errorStyle,
    errorMaxLines: this.errorMaxLines ?? errorMaxLines,
    floatingLabelBehavior: this.floatingLabelBehavior ?? floatingLabelBehavior,
    isDense: this.isDense ?? isDense,
    contentPadding: this.contentPadding ?? contentPadding,
    prefixIcon: this.prefixIcon ?? prefixIcon,
    prefix: this.prefix ?? prefix,
    prefixText: this.prefixText ?? prefixText,
    prefixStyle: this.prefixStyle ?? prefixStyle,
    suffixIcon: this.suffixIcon ?? suffixIcon,
    suffix: this.suffix ?? suffix,
    suffixText: this.suffixText ?? suffixText,
    suffixStyle: this.suffixStyle ?? suffixStyle,
    counter: this.counter ?? counter,
    counterText: this.counterText ?? counterText,
    counterStyle: this.counterStyle ?? counterStyle,
    filled: this.filled ?? filled,
    fillColor: this.fillColor ?? fillColor,
    focusColor: this.focusColor ?? focusColor,
    hoverColor: this.hoverColor ?? hoverColor,
    errorBorder: this.errorBorder ?? errorBorder,
    focusedBorder: this.focusedBorder ?? focusedBorder,
    focusedErrorBorder: this.focusedErrorBorder ?? focusedErrorBorder,
    disabledBorder: this.disabledBorder ?? disabledBorder,
    enabledBorder: this.enabledBorder ?? enabledBorder,
    border: this.border ?? border,
    enabled: enabled,
    semanticCounterText: this.semanticCounterText ?? semanticCounterText,
    alignLabelWithHint: this.alignLabelWithHint ?? alignLabelWithHint,
  );
}