flutter_theme_circle_animation 1.0.2
flutter_theme_circle_animation: ^1.0.2 copied to clipboard
A Flutter package that provides a beautiful circle reveal animation for theme switching, similar to Telegram's theme transition effect. Zero dependencies beyond Flutter.
1.0.2 #
- Updated
homepageURL inpubspec.yamlto point to the new interactive landing page.
1.0.1 #
- Fix: Restrict supported platforms to Android and iOS in
pubspec.yamlto prevent pub.dev from displaying unsupported platform badges like Linux, macOS, web, and Windows.
1.0.0 #
- New Feature: Added support for reverse animation! Shrinking circles can now be used when switching back to light mode.
- Added
isReverseparameter toThemeCircleAnimation.of(context)?.toggle()andtoggleFromWidget(). - Added
enableReverseAnimationparameter toThemeCircleSwitch(defaults totrue). - Updated example to showcase forward and reverse animations.
0.0.1 #
Initial release.
- Circle reveal animation for theme switching on Android and iOS.
ThemeCircleAnimationwrapper widget with configurable duration and curve.ThemeCircleSwitchtoggle button with animated sun/moon icon.- Programmatic API via
toggle()andtoggleFromWidget(). - Screenshot-based transition using
RepaintBoundary. - Zero external dependencies.