TextColorAttribute class abstract

Inheritance

Constructors

TextColorAttribute(Color color)
factory

Properties

color Color
no setteroverride
copyWith → $TextColorAttributeCopyWith<TextColorAttribute>
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value Color
Builds attribute into widget propety
no setterinherited

Methods

map<TResult extends Object?>(TResult $default(_ColorAttribute value), {required TResult backgroundColor(BackgroundColorAttribute value), required TResult textColor(TextColorAttribute value), required TResult shadowColor(ShadowColorAttribute value), required TResult borderColor(BorderColorAttribute value)}) → TResult
inherited
maybeMap<TResult extends Object?>(TResult $default(_ColorAttribute value)?, {TResult backgroundColor(BackgroundColorAttribute value)?, TResult textColor(TextColorAttribute value)?, TResult shadowColor(ShadowColorAttribute value)?, TResult borderColor(BorderColorAttribute value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>(TResult $default(Color color)?, {TResult backgroundColor(Color color)?, TResult textColor(Color color)?, TResult shadowColor(Color color)?, TResult borderColor(Color color)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>(TResult $default(Color color), {required TResult backgroundColor(Color color), required TResult textColor(Color color), required TResult shadowColor(Color color), required TResult borderColor(Color color)}) → TResult
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited