changeTheme method

void changeTheme(
  1. ThemeMode mode
)

Implementation

void changeTheme(ThemeMode mode) {
  runInAction(() => currentMode.value = mode);
}