flutter_theme_circle_animation 1.0.0
flutter_theme_circle_animation: ^1.0.0 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.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.