XyzColor constructor

XyzColor(
  1. double x,
  2. double y,
  3. double z,
  4. {double? opacity = 1}
)

An immutable 32 bit color value in ARGB format.

Implementation

XyzColor(this.x, this.y, this.z, {double? opacity = 1})
    : super(getColorFromXyz(x, y, z, opacity!));