HMTextFieldTheme class
- Inheritance
-
- Object
- ThemeExtension<
HMTextFieldTheme> - HMTextFieldTheme
Constructors
- HMTextFieldTheme.new({Color? fillColor, HMRadius? radius, HMTextFieldSize? size, HMTextVariant? variant, EdgeInsets? contentPadding, Color? iconColor, Color? disabledColor, Color? disabledTextColor, Widget? hidePasswordIcon, Widget? showPasswordIcon})
Properties
- contentPadding → EdgeInsets?
-
final
- disabledColor → Color?
-
final
- disabledTextColor → Color?
-
final
- fillColor → Color?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hidePasswordIcon → Widget?
-
final
- iconColor → Color?
-
final
- radius → HMRadius?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showPasswordIcon → Widget?
-
final
- size → HMTextFieldSize?
-
final
- type → Object
-
The extension's type.
no setterinherited
- variant → HMTextVariant?
-
final
Methods
-
copyWith(
{HMTextVariant? variant, HMTextFieldSize? size, HMRadius? radius, Color? fillColor, Color? iconColor, Color? disabledTextColor}) → HMTextFieldTheme -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
lerp(
covariant ThemeExtension< HMTextFieldTheme> ? other, double t) → HMTextFieldTheme -
Linearly interpolate with another ThemeExtension object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited