UnderlineDecoration class
The object determine the underline color etc.
- Inheritance
-
- Object
- PasswordDecoration
- UnderlineDecoration
Constructors
Properties
- color → Color
-
The color of the underline.
final
- enteredColor → Color?
-
The underline changed color when user enter password.
final
- errorText → String?
-
The error text that will be displayed if any
finalinherited
- errorTextStyle → TextStyle?
-
The style of error text.
finalinherited
- gapSpace → double
-
The space between text and underline.
final
-
gapSpaces
→ List<
double> ? -
The gaps between every two adjacent box, higher priority than gapSpace.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hintText → String?
-
finalinherited
- hintTextStyle → TextStyle?
-
finalinherited
- lineHeight → double
-
The height of the underline.
final
- obscureStyle → ObscureStyle?
-
The style of obscure text.
finalinherited
- passwordEntryType → PasswordEntryType
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textStyle → TextStyle?
-
The style of painting text.
finalinherited
Methods
-
copyWith(
{TextStyle? textStyle, ObscureStyle? obscureStyle, String? errorText, TextStyle? errorTextStyle, String? hintText, TextStyle? hintTextStyle}) → PasswordDecoration -
Creates a copy of this password decoration with the given fields replaced
by the new values.
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