setHKThemeMode method
Use setHKThemeMode to set the theme mode for the SDK
The theme mode controls how the SDK renders its UI:
- HKThemeMode.light: Force light theme regardless of system settings
- HKThemeMode.dark: Force dark theme regardless of system settings
- HKThemeMode.system: Follow the device's system theme settings
Example:
config.setHKThemeMode(hkThemeMode: HKThemeMode.system);
Implementation
void setHKThemeMode({required HKThemeMode hkThemeMode}) {
this.hkThemeMode = hkThemeMode;
}