animated_repeatable 1.2.0
animated_repeatable: ^1.2.0 copied to clipboard
Provides a way to create animated transitions on a child widget that repeat indefinitely or for a certain number of times.
1.2.0 #
- Performance: Replaced per-tick
setStatewithAnimationStatusListenerand isolated animations viaAnimatedBuilder, eliminating unnecessary frame-by-frame widget subtree rebuilds. - Bug Fix: Fixed timer race condition by using cancelable
Timerinstances for delays instead of uncancelableFuture.delayed. - Bug Fix: Fixed unintended animation resets and spurious
onContinuecallbacks during parent widget rebuilds. - Memory Management: Properly disposed internal
CurvedAnimationinstances to prevent memory leaks on modern Flutter versions. - Consistency: Aligned built-in transitions by removing redundant
ValueKeywrappers from_fade,_spin, and_zoom. - Accessibility: Added
disableAnimationsparameter with automatic system-wide reduced motion detection viaMediaQuery.maybeDisableAnimationsOf. - Ergonomics: Added
AnimatedRepeatableWidgetExtensiononWidgetwithanimateRepeatable,repeatFade,repeatSpin,repeatZoom,repeatShake, andrepeatShimmer. - Testing: Added comprehensive unit and widget test suite covering all transitions, lifecycle events, and edge cases (100% line coverage).
- CI: Added GitHub Actions CI workflow for test, analyze, and format verification.
1.1.3 #
- Update documentation.
1.1.2 #
- Fixed is animating and idle state.
1.1.1 #
- Fixed cycle not increase when onCycle not defined.
1.1.0 #
- Improved builder parameter.
1.0.0 #
- Refactor from
loop_transitionpackage. - Added reverse transition and curve.
- Expose play and pause function.
- Added function to get closest AnimatedRepeatableState.