app_theme_picker 0.5.0
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 whosesupportedLocalesincludeLocale('zh', 'TW')previously fell back tofallbackLocalefor this package's strings — or failed to load them at all, sincePkgsAssetLoaderreads one file per locale per package.
0.4.1 #
Fixed #
- Narrowed the
riverpod_annotation/riverpod_generatorversion constraints and regenerated the.g.dartfiles.riverpod_annotationexact-pins a specificriverpodcore release internally, and this package's previous^4.0.0range let a host app's pub resolution drift to a newerriverpod_annotation(and therefore a newerriverpodcore) than the committed generated code was built against, breaking compilation with errors likerunBuild/handleValuesignature mismatches. - Bumped the
app_lang_selectordependency to^0.3.1for the same fix.
0.4.0 #
Added #
onThemeChangedandonThemeModeChangedcallbacks, invoked afterThemePod.changeTheme/ThemeModePod.changeThemeModepersist 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>ThemeMockclasses and matching<name>ThemeOverridevalues. UsethemeOverride(FlexScheme.x)/themeModeOverride(ThemeMode.x), orFixedThemePod/FixedThemeModePoddirectly. They were shipped inlib/and so ended up in every app's binary. availableSchemesisSet<FlexScheme>instead ofSet<String>. Scheme names were compared as strings, so a typo silently filtered out everything.ThemeModePoddefaults toThemeMode.systeminstead ofThemeMode.light.- The default scheme is
FlexScheme.material, and is now configurable through thedefaultFlexSchemevariable (it was hardcoded tosakura).
Fixed #
- The
AppBaronPickThemePageno longer tries to render a scrollable error view as its title.
Changed #
PickThemePage.sizedefaults to 70, matchingThemePickTile.
0.2.0 #
Breaking #
- Namespaced the bundled translation keys with
app_theme_picker:. The genericthemeandtile_titlekeys 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.