InputDecorationTheme constructor
- TextStyle? labelStyle,
- TextStyle? floatingLabelStyle,
- TextStyle? helperStyle,
- int? helperMaxLines,
- TextStyle? hintStyle,
- Duration? hintFadeDuration,
- TextStyle? errorStyle,
- int? errorMaxLines,
- FloatingLabelBehavior floatingLabelBehavior = FloatingLabelBehavior.auto,
- FloatingLabelAlignment floatingLabelAlignment = FloatingLabelAlignment.start,
- bool isDense = false,
- EdgeInsetsGeometry? contentPadding,
- bool isCollapsed = false,
- Color? iconColor,
- TextStyle? prefixStyle,
- Color? prefixIconColor,
- TextStyle? suffixStyle,
- Color? suffixIconColor,
- TextStyle? counterStyle,
- bool filled = false,
- Color? fillColor,
- BorderSide? activeIndicatorBorder,
- BorderSide? outlineBorder,
- Color? focusColor,
- Color? hoverColor,
- InputBorder? errorBorder,
- InputBorder? focusedBorder,
- InputBorder? focusedErrorBorder,
- InputBorder? disabledBorder,
- InputBorder? enabledBorder,
- InputBorder? border,
- bool alignLabelWithHint = false,
- BoxConstraints? constraints,
Creates a value for ThemeData.inputDecorationTheme that defines default values for InputDecorator.
Implementation
const InputDecorationTheme({
this.labelStyle,
this.floatingLabelStyle,
this.helperStyle,
this.helperMaxLines,
this.hintStyle,
this.hintFadeDuration,
this.errorStyle,
this.errorMaxLines,
this.floatingLabelBehavior = FloatingLabelBehavior.auto,
this.floatingLabelAlignment = FloatingLabelAlignment.start,
this.isDense = false,
this.contentPadding,
this.isCollapsed = false,
this.iconColor,
this.prefixStyle,
this.prefixIconColor,
this.suffixStyle,
this.suffixIconColor,
this.counterStyle,
this.filled = false,
this.fillColor,
this.activeIndicatorBorder,
this.outlineBorder,
this.focusColor,
this.hoverColor,
this.errorBorder,
this.focusedBorder,
this.focusedErrorBorder,
this.disabledBorder,
this.enabledBorder,
this.border,
this.alignLabelWithHint = false,
this.constraints,
});