Examples
Examples
Runnable Flutter examples for card-to-fullscreen, container transform, music player, fullscreen image and drag-to-dismiss animations.
Every example uses the published expandable_animation API and has a runnable version in the
live demo and the
example app.
Card to fullscreen animation
Turn an e-commerce card into a full product page.
CoreExpandable widget animation
Expand any widget into a larger view, not an accordion.
CoreContainer transform animation
How bounds, corners and colors morph together.
TechniqueShared element transition
Fly an image on its own path inside the morph.
TechniqueMorphing animation
Shape and color morphing with springs and custom layers.
ExampleExpandable music player
Mini player to full player with shared playback.
ExampleFullscreen image transition
Gallery thumbnail to image viewer and back.
ExampleApp Store-style card animation
Editorial cards that spring open into articles.
TechniqueiOS-style animations
Springs, velocity and interruptible gestures together.
InteractionDrag-to-dismiss animation
Interactive dismissal that cooperates with scrolling.
ComparisonOpenContainer alternative
Hero, OpenContainer and ExpandableAnimation compared.