DecorationElement class abstract

Pre existing border, labels, icons, and styles used to decorate a Material text field. filledColor : the Color of text Field container

focusColor : the Color of Text Field container when the input is focused

style : The style on which to base the label, hint, and error styles

Implementers

Constructors

DecorationElement({BorderRadius? radius, Color? filledColor, Color? focusColor, TextStyle? style, TextStyle? styleError, TextStyle? hintStyle, TextStyle? labelStyle, Widget? prefix, Widget? suffix, EdgeInsetsGeometry? contentPadding})
const

Properties

contentPadding EdgeInsetsGeometry?
final
filledColor Color?
final
focusColor Color?
final
hashCode int
The hash code for this object.
no setterinherited
hintStyle TextStyle?
final
labelStyle TextStyle?
final
prefix Widget?
final
radius BorderRadius?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style TextStyle?
final
styleError TextStyle?
final
suffix Widget?
final

Methods

copy({BorderRadius? radius, Color? filledColor, Color? focusColor, TextStyle? style, TextStyle? hintStyle, TextStyle? labelStyle, TextStyle? styleError, EdgeInsetsGeometry? contentPadding, Widget? prefix, Widget? suffix}) DecorationElement
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