setPreferredLight static method

Future<void> setPreferredLight(
  1. String themeId
)

Set the preferred light theme for system theme following.

This theme will be used when the system is in light mode and isFollowingSystem is true.

Implementation

static Future<void> setPreferredLight(String themeId) async {
  await NyThemeManager.instance.setPreferredLightTheme(themeId);
}