ColorUtils class

Utility class for color manipulation and conversion operations.

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

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

convertToMaterialColor(Color? color) MaterialColor?
Converts a Color to MaterialColor if possible.
createMaterialColor(Color color) MaterialColor
Creates a custom MaterialColor swatch from a base Color.