applyThemeProfile method

void applyThemeProfile(
  1. ThemeProfileLevel themeProfileLevel
)

Apply a theme profile to the application.

Implementation

void applyThemeProfile(ThemeProfileLevel themeProfileLevel) {
  final themeProfile = ThemeProfile.fromLevel(themeProfileLevel);
  _replaceSettings(
    newTextSettings: themeProfile.textSettings,
    newColorSettings: themeProfile.colorSettings,
    newEffectsAllowed: themeProfile.effectsAllowed,
  );
}