JidoujishoColor class

A class for holding values related to color. Ideally, the application should handle all colors with enums stored in this class.

Constructors

JidoujishoColor()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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

Static Methods

darken(Color color, [double amount = .1]) Color
Adjust a color and make it darker.
lighten(Color color, [double amount = .1]) Color
Adjust a color and make it brighter.

Constants

greyscaleWithAlphaFilter → const ColorFilter
Used to filter an image to have no saturation with transparency.
ColorFilter.matrix(<double>[0.2126, 0.7152, 0.0722, 0, 0, 0.2126, 0.7152, 0.0722, 0, 0, 0.2126, 0.7152, 0.0722, 0, 0, 0, 0, 0, 1, 0])