flutter_cached_transition 1.0.1+1
flutter_cached_transition: ^1.0.1+1 copied to clipboard
This package provides customizable widgets that preserve widget state while applying transition animations.
Introduction #
This package provides customizable widgets that preserve widget state while applying transition animations.
Preview #
The gif image below may appear distorted and choppy due to compression.
Usage #
The following explains the basic usage of this package.
CachedTransition(
duration: Duration(milliseconds: 500),
curve: Curves.ease,
transitionBuilder: (child, primaryAnimation, secondaryAnimation) {
return FadeTransition(
opacity: primaryAnimation,
child: child,
);
},
child: Example(key: ValueKey(...)),
);