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(...)),
);