changeThemeMode function

void changeThemeMode(
  1. ThemeMode themeMode
)

切换主题模式

Implementation

void changeThemeMode(ThemeMode themeMode) {
  GlobalService.to.changeThemeMode(themeMode);
}