SimpleInputDecoration class

Creates a bundle of the border, labels, icons, and styles used to decorate a SimpleTextField.

Constructors

SimpleInputDecoration({Icon? icon, Widget? label, String? labelText, TextStyle? labelStyle, TextStyle? floatingLabelStyle, String? helperText, TextStyle? helperStyle, int? helperMaxLines, String? hintText, TextStyle? hintStyle, TextDirection? hintTextDirection, int? hintMaxLines, String? errorText, TextStyle? errorStyle, int? errorMaxLines, FloatingLabelBehavior? floatingLabelBehavior, bool isCollapsed = false, bool? isDense, EdgeInsetsGeometry? contentPadding, IconButton? prefixIcon, BoxConstraints? prefixIconConstraints, Widget? prefix, String? prefixText, TextStyle? prefixStyle, IconButton? suffixIcon, BoxConstraints? suffixIconConstraints, Widget? suffix, String? suffixText, TextStyle? suffixStyle, Widget? counter, String? counterText, TextStyle? counterStyle, bool filled = false, Color? fillColor, Color? focusColor, Color? hoverColor, Color? disabledColor, InputBorder? border, InputBorder? errorBorder, InputBorder? focusedBorder, InputBorder? focusedErrorBorder, InputBorder? enabledBorder, InputBorder? disabledBorder, String? semanticCounterText, bool? alignLabelWithHint, BoxConstraints? constraints, bool removeBorder = false, bool simpleBorder = false, Color? borderColor, Color? errorBorderColor, Color? focusedBorderColor, Color? focusedErrorBorderColor, double borderWidth = 1.0, double focusedBorderWidth = 2.0, BorderRadius borderRadius = const BorderRadius.all(Radius.circular(2.0))})
const

Properties

alignLabelWithHint bool?
final
border InputBorder?
final
borderColor Color?
final
borderRadius BorderRadius
final
borderWidth double
final
constraints BoxConstraints?
final
contentPadding EdgeInsetsGeometry?
final
counter Widget?
final
counterStyle TextStyle?
final
counterText String?
final
disabledBorder InputBorder?
final
disabledColor Color?
final
enabledBorder InputBorder?
final
errorBorder InputBorder?
final
errorBorderColor Color?
final
errorMaxLines int?
final
errorStyle TextStyle?
final
errorText String?
final
fillColor Color?
final
filled bool
final
floatingLabelBehavior FloatingLabelBehavior?
final
floatingLabelStyle TextStyle?
final
focusColor Color?
final
focusedBorder InputBorder?
final
focusedBorderColor Color?
final
focusedBorderWidth double
final
focusedErrorBorder InputBorder?
final
focusedErrorBorderColor Color?
final
hashCode int
The hash code for this object.
no setterinherited
helperMaxLines int?
final
helperStyle TextStyle?
final
helperText String?
final
hintMaxLines int?
final
hintStyle TextStyle?
final
hintText String?
final
hintTextDirection TextDirection?
final
hoverColor Color?
final
icon Icon?
final
isCollapsed bool
final
isDense bool?
final
label Widget?
final
labelStyle TextStyle?
final
labelText String?
final
prefix Widget?
final
prefixIcon IconButton?
final
prefixIconConstraints BoxConstraints?
final
prefixStyle TextStyle?
final
prefixText String?
final
removeBorder bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
semanticCounterText String?
final
simpleBorder bool
final
suffix Widget?
final
suffixIcon IconButton?
final
suffixIconConstraints BoxConstraints?
final
suffixStyle TextStyle?
final
suffixText String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited