core.theme library Null safety

App theme configuration

Classes

SwitchThemeEvent
Switching theme mode event
ThemeBloc
Theme business logic component, it manages ThemeState and handle ThemeEvent
ThemeEvent
App theme related events
ThemeState
Theme state class

Extensions

AdvancedThemeData
Extra theme variables

Properties

palette Map<int, Color>
Theme color palette
read / write

Functions

getTheme(BuildContext context) → dynamic
return the theme data according to theme mode (Dark/Light)

Enums

AppThemeMode
Theme mode