UnderlineDecorationElement class
borderColor : The border Color to display when the InputDecorator does not have the focus. errorBorderColor : The borwidthLineder Color to display when the InputDecorator does have the error. | focusBorderColor : The border Color to display when the InputDecorator does have the focus. | disabledBorderColor : The border Color to display when the InputDecorator is disabled. | widthSide : The width of this line of the border | filledColor : base fill color of the decoration | focusColor : focused fill color of the decoration
- Inheritance
-
- Object
- DecorationElement
- UnderlineDecorationElement
- Implementers
Constructors
- UnderlineDecorationElement({Color? borderColor, Color errorBorderColor = Colors.red, Color? focusBorderColor, Color? disabledBorderColor, EdgeInsetsGeometry? contentPadding, BorderRadius? radius, double? widthSide, double? focusWidthSide, Color? filledColor, Color? focusColor, TextStyle? textStyle, TextStyle? textErrorStyle, TextStyle? hintStyle, TextStyle? labelStyle, Widget? prefix, Widget? suffix})
-
const
Properties
- borderColor → Color?
-
final
- contentPadding → EdgeInsetsGeometry?
-
finalinherited
- disabledBorderColor → Color?
-
final
- errorBorderColor → Color
-
final
- filledColor → Color?
-
finalinherited
- focusBorderColor → Color?
-
final
- focusColor → Color?
-
finalinherited
- focusWidthSide → double?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hintStyle → TextStyle?
-
finalinherited
- labelStyle → TextStyle?
-
finalinherited
- prefix → Widget?
-
finalinherited
- radius → BorderRadius?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → TextStyle?
-
finalinherited
- styleError → TextStyle?
-
finalinherited
- suffix → Widget?
-
finalinherited
- widthSide → double?
-
final
Methods
-
copy(
{Color? borderColor, Color errorBorderColor = Colors.red, Color? focusBorderColor, Color? disabledBorderColor, BorderRadius? radius = const BorderRadius.all(Radius.circular(0.0)), double widthSide = 1.0, double focusWidthSide = 1.0, Color? filledColor, Color? focusColor, TextStyle? style, TextStyle? labelStyle, TextStyle? hintStyle, TextStyle? styleError, Widget? prefix, Widget? suffix, EdgeInsetsGeometry? contentPadding}) → DecorationElement -
override
-
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