theme_provider 0.1.0 theme_provider: ^0.1.0 copied to clipboard
Easy to use and customizable Theme Provider. This Widget can be used to easily provide a theme controller across the widget tree.
CHANGELOG #
[0.1.0] - 2019/06/09 #
- BREAKING CHANGE: Removed context parameter from
ThemeProvider
builder.
[0.0.1+10] - 2019/06/09 #
- Added ability to provide default theme id.
- Added ability to persist current theme.
[0.0.1+9] - 2019/06/09 #
- Changed
ThemeProvider.themeOf(context)
to return the currentAppTheme
. - Removed
currentThemeId
fromThemeCommand
.
[0.0.1+8] - 2019/06/08 #
- Added method to get all themes:
ThemeProvider.controllerOf(context).allThemes
- Made theme id required (instead of optional)
- Added optional description field to theme
- Added dialog to switch themes
[0.0.1+7] - 2019/06/08 #
- Removed dependency on Provider.
[0.0.1+6] - 2019/06/08 #
- Changed directory structure
- Renamed,
ThemeCommand.of(context)
toThemeProvider.controllerOf(context)
AppThemeOptions.of(context)
toThemeProvider.optionsOf(context)
- Added
ThemeProvider.themeOf(context)
to get theme.
[0.0.1+5] - 2019/06/08 #
- Improved documentation
[0.0.1+4] - 2019/06/08 #
- Added default values to themes. Now it is not required
- Added AppTheme.light() and AppTheme.dark() to create dark and light themes easily
- Added command, setTheme(id)
- Improved tests
[0.0.1+3] - 2019/06/08 #
- Fix a bug in the example
[0.0.1+2] - 2019/06/08 #
- Changed api to pass on theme to help apply the theme to app
[0.0.1+1] - 2019/06/08 #
- Fixed major bug relating to ProviderNotFoundError
[0.0.1] - 2019/06/08 #
- Added base functionality to add custom theme data
- Added functionality to cycle theme using the command