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 {
  return _host.setColorTheme(colorTheme.toString());
}