theme_provider 0.2.0+1 copy "theme_provider: ^0.2.0+1" to clipboard
theme_provider: ^0.2.0+1 copied to clipboard

outdated

Easy to use and customizable Theme Provider. This Widget can be used to easily provide a theme controller across the widget tree.

CHANGELOG #

[0.2.0+1] - 2019/06/11 #

  • Fixed some typo and updated README and bumped example theme_provider version.

[0.2.0] - 2019/06/10 #

  • BREAKING CHANGE: loadThemesOnStartup is no longer supported. Use ThemeProvider.controllerOf(context).loadThemeFromDisk() manually to load theme.

[0.1.0+1] - 2019/06/09 #

  • Fixed some typos in code

[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 current AppTheme.
  • Removed currentThemeId from ThemeCommand.

[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) to ThemeProvider.controllerOf(context)
    • AppThemeOptions.of(context) to ThemeProvider.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
300
likes
0
pub points
95%
popularity

Publisher

unverified uploader

Easy to use and customizable Theme Provider. This Widget can be used to easily provide a theme controller across the widget tree.

Homepage

License

unknown (LICENSE)

Dependencies

flutter, shared_preferences

More

Packages that depend on theme_provider