MonetColors class

Represents a collection of MonetPalettes that are generated using the bundled in monet engine

Each MonetPalette contains a set of 13 shades of a base color. The base color used for each palette depend on the engine itself.

Constructors

MonetColors({required MonetPalette accent1, required MonetPalette accent2, required MonetPalette accent3, required MonetPalette neutral1, required MonetPalette neutral2})
Creates a new instance of MonetColors.
const

Properties

accent1 MonetPalette
Main accent color. Generally, this is close to the primary color.
final
accent2 MonetPalette
Secondary accent color. Darker shades of accent1.
final
accent3 MonetPalette
Tertiary accent color. Primary color shifted to the next secondary color via hue offset.
final
hashCode int
The hash code for this object.
no setterinherited
neutral1 MonetPalette
Main background color. Tinted with the primary color.
final
neutral2 MonetPalette
Secondary background color. Slightly tinted with the primary color.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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