AFColorPairing class

A pairing of AFColor for foreground and background.

You can register one of these, and then automatically get the correct color with AFFunctionalTheme.colorForeground and AFFunctionalTheme.colorBackground

Inheritance

Constructors

AFColorPairing({required AFColor foreground, required AFColor background})

Properties

background AFColor
final
foreground AFColor
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

backgroundColor(Brightness brightness) Color?
forgroundColor(Brightness brightness) Color?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(AFFundamentalThemeState theme) → void
override
toString() String
A string representation of this object.
inherited

Operators

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