InputDecoration constructor
const
InputDecoration({
- String? labelText,
- TextStyle? labelStyle,
- String? helperText,
- TextStyle? helperStyle,
- String? placeholderText,
- Color? placeholderColor,
- BorderData? border,
- Color? hoverBorderColor,
- Color? focusBorderColor,
- TextStyle? errorStyle,
- TextStyle? inputStyle,
- EdgeInsets? padding,
- EdgeInsets? margin,
Creates an InputDecoration instance.
Implementation
const InputDecoration({
this.labelText,
this.labelStyle,
this.helperText,
this.helperStyle,
this.placeholderText,
this.placeholderColor,
this.border,
this.hoverBorderColor,
this.focusBorderColor,
this.errorStyle,
this.inputStyle,
this.padding,
this.margin,
});