setColorTheme static method

Future<void> setColorTheme(
  1. ColorTheme colorTheme
)

Sets the color theme of the SDK's whole UI to the colorTheme given. It should be of type ColorTheme.

Implementation

static Future<void> setColorTheme(ColorTheme colorTheme) async {
  final List<dynamic> params = <dynamic>[colorTheme.toString()];
  await _channel.invokeMethod<Object>('setColorTheme:', params);
}