easy_dynamic_theme 1.0.0
easy_dynamic_theme: ^1.0.0 copied to clipboard

Flutter Android iOS web

Automatically get your OS defined Theme (Dynamic), force your prefered one (Light / Dark) and persist your choice in the device.

1.0.0 #

Features #

  • Added new widget: EasyDynamicThemeSwitch.

Documentation #

  • Files formatted according to dartfmt.

0.0.5 #

Enhances #

  • Changed the behavior for EasyDynamicThemeWidget on initialThemeMode parameter.
  • Changed the behavior for _toggleTheme function on initialThemeMode parameter.

0.0.4 #

Enhances #

  • Refactored and renamed switchTheme function to changeTheme.
  • Wrapped EasyDynamicThemeWidget build function in a FutureBuilder.

Documentation #

  • Added documentation for changeTheme function.

0.0.3 #

Documentation #

  • Files formatted according to dartfmt.

0.0.2 #

Documentation #

  • Documentation text changed.
  • Added project description.

0.0.1 #

Features #

  • Added new widget: EasyDynamicThemeBtn.
  • Added new methods:
    • EasyDynamicTheme.of(context).themeMode
    • EasyDynamicTheme.of(context).switchTheme()
14
likes
110
pub points
63%
popularity

Automatically get your OS defined Theme (Dynamic), force your prefered one (Light / Dark) and persist your choice in the device.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

rlazom@gmail.com

License

MIT (LICENSE)

Dependencies

flutter, flutter_web_plugins, shared_preferences

More

Packages that depend on easy_dynamic_theme