SanityPalette class

A collection of SanityColor which are provided for images by sanity.

Constructors

SanityPalette.new(SanityColor darkMuted, SanityColor darkVibrant, SanityColor dominant, SanityColor lightMuted, SanityColor lightVibrant, SanityColor muted, SanityColor vibrant)
SanityPalette.fromJson(dynamic json)
Parses a json color palette. From the passed json.
factory

Properties

darkMuted ↔ SanityColor
getter/setter pair
darkVibrant ↔ SanityColor
getter/setter pair
dominant ↔ SanityColor
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lightMuted ↔ SanityColor
getter/setter pair
lightVibrant ↔ SanityColor
getter/setter pair
muted ↔ SanityColor
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vibrant ↔ SanityColor
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Returns a string representation of the color palette.
override

Operators

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