ColorUtils class

Constructors

ColorUtils.new()

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

hexColor(int hex, {double alpha = 1}) Color
十六进制颜色 hex,十六进制值,例如:0xffffff, alpha,透明度0.0, 1.0
hexStringColor(String colorString, {double alpha = 1}) Color
十六进制颜色 colorString,字符串,例如:'0x000000' '0xff000000' '#000000' '#000000', alpha,透明度0.0, 1.0