setColor static method
Sets the primary color.
Implementation
static void setColor(Color color) {
final String hexString = _colorToHex(color);
_channel.invokeMethod('setColor', {"color": hexString});
}
Sets the primary color.
static void setColor(Color color) {
final String hexString = _colorToHex(color);
_channel.invokeMethod('setColor', {"color": hexString});
}