$RgbColor class Null safety

Used by:

  • docs:v1 : RgbColor
  • slides:v1 : RgbColor

Constructors

$RgbColor({double? blue, double? green, double? red})
$RgbColor.fromJson(Map _json)

Properties

blue double?
The blue component of the color, from 0.0 to 1.0.
read / write
green double?
The green component of the color, from 0.0 to 1.0.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
red double?
The red component of the color, from 0.0 to 1.0.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

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