changeColor static method
Implementation
@deprecated
static Future changeColor({required Color color, double? value}) async {
final double luminance = color.computeLuminance();
final bool isDarkColor = luminance < (value ?? 0.4);
await _channel.invokeMethod(
'changeColor', {'color': color.value, 'isDarkColor': isDarkColor});
}