LightPowerUpColor constructor
LightPowerUpColor({
- required LightPowerUpColorMode mode,
- required LightPowerUpColorColorTemperature colorTemperature,
- required LightColorXy color,
Creates a LightPowerUpColor object.
Implementation
LightPowerUpColor({
required this.mode,
required this.colorTemperature,
required this.color,
}) : _originalMode = mode,
_originalColorTemperature = colorTemperature.copyWith(),
_originalColor = color.copyWith();