setThemeMode method

void setThemeMode({
  1. required HKThemeMode themeMode,
})

Use setThemeMode to set the theme mode for the SDK

The theme mode controls how the SDK renders its UI:

Example:

config.setThemeMode(themeMode: HKThemeMode.system);

Implementation

void setThemeMode({required HKThemeMode themeMode}) {
  this.themeMode = themeMode;
}