flutter_cached_transition 1.0.1+1 copy "flutter_cached_transition: ^1.0.1+1" to clipboard
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.

preview

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(...)),
);
2
likes
155
points
2
downloads

Publisher

verified publisherttangkong.dev

Weekly Downloads

This package provides customizable widgets that preserve widget state while applying transition animations.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on flutter_cached_transition