Coloration class Foundation
A class that takes variables into consideration to properly color the text of different items to match contrast standards
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
accentColor(
) → Color - Accent color for the given mode.
-
contrastColor(
) → Color - Returns alternate color to the mode.
-
decorationColor(
{required decorationPriority decorationVariant}) → Color - Coloration for dynamically changing items that use all of the priority variants.
-
inactiveColor(
) → Color - Returns inactive color for the mode.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
primaryImage(
) → Image - Returns primary image for the proper mode.
-
resourceLogo(
) → Image - Returns logo for the proper mode.
-
sameColor(
) → Color - Returns same color as the mode.
-
secondaryImage(
) → Image - Returns secondary image for the proper mode.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited