app_theme_picker 0.5.0 copy "app_theme_picker: ^0.5.0" to clipboard
app_theme_picker: ^0.5.0 copied to clipboard

A customizable Flutter theme picker with FlexColorScheme color schemes, light/dark/system modes, persistent settings, and Riverpod state management.

0.5.0 #

Added #

  • Traditional Chinese (zh-TW) translations. Apps whose supportedLocales include Locale('zh', 'TW') previously fell back to fallbackLocale for this package's strings — or failed to load them at all, since PkgsAssetLoader reads one file per locale per package.

0.4.1 #

Fixed #

  • Narrowed the riverpod_annotation/riverpod_generator version constraints and regenerated the .g.dart files. riverpod_annotation exact-pins a specific riverpod core release internally, and this package's previous ^4.0.0 range let a host app's pub resolution drift to a newer riverpod_annotation (and therefore a newer riverpod core) than the committed generated code was built against, breaking compilation with errors like runBuild/handleValue signature mismatches.
  • Bumped the app_lang_selector dependency to ^0.3.1 for the same fix.

0.4.0 #

Added #

  • onThemeChanged and onThemeModeChanged callbacks, invoked after ThemePod.changeTheme / ThemeModePod.changeThemeMode persist a new value. Lets a host app observe theme changes (e.g. for analytics) without depending on Riverpod.

0.3.0 #

Breaking #

  • Removed the ~80 <Name>ThemeMock classes and matching <name>ThemeOverride values. Use themeOverride(FlexScheme.x) / themeModeOverride(ThemeMode.x), or FixedThemePod / FixedThemeModePod directly. They were shipped in lib/ and so ended up in every app's binary.
  • availableSchemes is Set<FlexScheme> instead of Set<String>. Scheme names were compared as strings, so a typo silently filtered out everything.
  • ThemeModePod defaults to ThemeMode.system instead of ThemeMode.light.
  • The default scheme is FlexScheme.material, and is now configurable through the defaultFlexScheme variable (it was hardcoded to sakura).

Fixed #

  • The AppBar on PickThemePage no longer tries to render a scrollable error view as its title.

Changed #

  • PickThemePage.size defaults to 70, matching ThemePickTile.

0.2.0 #

Breaking #

  • Namespaced the bundled translation keys with app_theme_picker:. The generic theme and tile_title keys collided with host app keys.

0.1.3+4 #

  • CHORE: upgrade riverpod_generator to ^4.0.0 and riverpod_lint to ^3.1.0.

0.1.3+3 #

  • FIX: resolve crash risks and stale state issues found in code review.
  • FIX: reset repo link and homepage link.
  • FIX: use melos.

0.1.3+2 #

  • Update a dependency to the latest release.

0.1.3+1 #

  • FIX: reset repo link and homepage link.
  • FIX: use melos.

0.1.3 #

  • Add overrides for theme and theme mode.

0.1.2 #

  • Add mocks for theme and theme mode.

0.1.1 #

  • Add theme mode pod.

0.1.0 #

  • update riverpod.

0.0.1 #

  • Initial release.
2
likes
140
points
336
downloads

Documentation

API reference

Publisher

verified publishernormidar.com

Weekly Downloads

A customizable Flutter theme picker with FlexColorScheme color schemes, light/dark/system modes, persistent settings, and Riverpod state management.

Repository (GitHub)
View/report issues
Contributing

Topics

#theme #color #style #picker #easy-localization

License

MIT (license)

Dependencies

app_lang_selector, easy_localization, flex_color_scheme, flutter, flutter_riverpod, riverpod_annotation, riverpod_helper

More

Packages that depend on app_theme_picker