InputDecorationTheme constructor
Creates a value for ThemeData.inputDecorationTheme that defines default values for InputDecorator.
The values of isDense
, isCollapsed
, isFilled
, and border
must
not be null.
Implementation
const InputDecorationTheme({
this.labelStyle,
this.helperStyle,
this.hintStyle,
this.errorStyle,
this.errorMaxLines,
this.hasFloatingPlaceholder = true,
this.isDense = false,
this.contentPadding,
this.isCollapsed = false,
this.prefixStyle,
this.suffixStyle,
this.counterStyle,
this.filled = false,
this.fillColor,
this.errorBorder,
this.focusedBorder,
this.focusedErrorBorder,
this.disabledBorder,
this.enabledBorder,
this.border,
}) : assert(isDense != null),
assert(isCollapsed != null),
assert(filled != null);