MaterialThemePrefs
constructor(preferenceHelper: PreferenceHelper, darkColorPalette: Colors = darkColors(), lightColorPalette: Colors = lightColors())
Parameters
preferenceHelper
Backing storage for the selected theme.
darkColorPalette
Colors used when dark theme is active. Defaults to darkColors.
lightColorPalette
Colors used when light theme is active. Defaults to lightColors.