neoCurrentThemeProvider. You can switch between theme modes (light, dark, system) or switch to completely different custom themes.
Understanding Modes vs Themes
Theme Modes control which theme to use:light- Always use the light themedark- Always use the dark themesystem- Automatically choose based on device settings
- Default themes:
NeoTheme.light(),NeoTheme.dark() - Custom themes: Your brand themes, seasonal themes, compact themes, etc.
Example
Theme Provider
NotifierProvider
Manages theme modes and custom themes throughout your application. Watching it yields the active
NeoTheme.Provider Methods
Enums
NeoThemeMode
Controls which theme to display based on different strategies.system: Automatically follows device’s system theme setting and updates in real-time.light: Always uses the light theme regardless of system settings.dark: Always uses the dark theme regardless of system settings.

