OutlineDecorationElement 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. | radius : radius of the border. | widthSide : The width of this line of the border
- Inheritance
-
- Object
- DecorationElement
- OutlineDecorationElement
- Implementers
Constructors
- OutlineDecorationElement({Color? borderColor, Color errorBorderColor = Colors.red, Color? focusBorderColor, Color? disabledBorderColor, BorderRadius? radius, double? widthSide, double? focusWidthSide, Color? filledColor, Color? focusColor, TextStyle? textStyle, TextStyle? hintStyle, TextStyle? labelStyle, TextStyle? textErrorStyle, Widget? prefix, Widget? suffix, EdgeInsetsGeometry? contentPadding})
-
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, Color? focusBorderColor, Color? disabledBorderColor, double? widthSide, double? focusWidthSide, BorderRadius? radius, Color? filledColor, Color? focusColor, TextStyle? style, TextStyle? hintStyle, TextStyle? labelStyle, 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