Color class

The background color in RGB hex. Value only. Do not include a preceding #. For example, 0xFFB6C1 (light pink). The default value is 0x000000 (black).

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

Color(int? red, int? green, int? blue)
Constructs a Color

Properties

blue int?
Blue.
getter/setter pair
green int?
Green.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
red int?
Red.
getter/setter pair
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