NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #3822 most downloaded on pub.dev
Easy to use and customizable Theme Provider. This Widget can be used to easily provide a theme controller across the widget tree.
Last release 3 years ago
no release in 18 months
Ships unpredictably
gaps range from 2 weeks to 2.2 years
Nearly every release is documented
notes for 24 of 24 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
24 releases · first in 2019
Modify to support Flutter 3.10.
Refactor code base to be null-safe.
AppTheme.BREAKING CHANGE: Changed return type of ThemeProvider.controllerOf to ThemeController and removed ThemeCommand abstract class.
One column per quarter.
Updated readme to change the recommended method of wrapping the app with the ThemeProvider.
ThemeProvider.Added better error messages when description is not provided with theme. #1
shared_preferences versionUsed dependOnInheritedWidgetOfExactType instead of inheritFromWidgetOfExactType.
dependOnInheritedWidgetOfExactType instead of inheritFromWidgetOfExactType.Added ability to add a onThemeChanged callback to ThemeProvider to be called after each time the theme is switched.
onThemeChanged callback to ThemeProvider to be called after each time the theme is switched.Changed ThemeProvider to accept a child instead of builder.
ThemeProvider to accept a child instead of builder.ThemeConsumer widget.loadThemeOnInit parameter.providerId parameter to allow multiple theme providers.BREAKING CHANGE: loadThemesOnStartup is no longer supported. Use ThemeProvider.controllerOf(context).loadThemeFromDisk() manually to load theme.
loadThemesOnStartup is no longer supported. Use ThemeProvider.controllerOf(context).loadThemeFromDisk() manually to load theme.Fixed some typo and updated README and bumped example theme_provider version.
Now theme can be saved manually using ThemeProvider.controllerOf(context).saveThemeToDisk()
ThemeProvider.controllerOf(context).saveThemeToDisk()Added onInitCallback parameter to ThemeProvider.
onInitCallback parameter to ThemeProvider.BREAKING CHANGE: Removed context parameter from ThemeProvider builder.
ThemeProvider builder.- Fixed some typos in code
Added base functionality to add custom theme data
Fixed major bug relating to ProviderNotFoundError
Changed api to pass on theme to help apply the theme to app
- Fix a bug in the example
Added default values to themes. Now it is not required
- Improved documentation
ThemeCommand.of(context) to ThemeProvider.controllerOf(context)
ThemeCommand.of(context) to ThemeProvider.controllerOf(context)AppThemeOptions.of(context) to ThemeProvider.optionsOf(context)ThemeProvider.themeOf(context) to get theme.Removed dependency on Provider.
Added method to get all themes: ThemeProvider.controllerOf(context).allThemes
ThemeProvider.controllerOf(context).allThemesChanged ThemeProvider.themeOf(context) to return the current AppTheme.
ThemeProvider.themeOf(context) to return the current AppTheme.currentThemeId from ThemeCommand.Your coding agent can read these notes before it upgrades. Set up the MCP server →