Material Transitions in Flutter with the Animations Package

Sep 21 2021 Dart 2.13, Flutter, VS Code 1.59

Part 1: Material Transitions in Flutter with the Animations Package

4. Work with Fade Transitions

Lesson Complete

Play Next Lesson
Next
Save for later
About this episode
See forum comments
Cinema mode Mark as Complete Download course materials
Previous episode: 3. Create a FadeThrough Animation Next episode: 5. Animate Screens with the SharedAxis Animation

This video was last updated on Sep 21 2021

Heads up... You've reached locked video content where the transcript will be shown as obfuscated text.

You can unlock the rest of this video course, and our entire catalogue of books and videos, with a kodeco.com Professional subscription.

Next is the fade transition. Fade transitions are used to fade in elements above exiting elements. Sometimes, the underlying elements are dimmed in order to make the entering element stand out.

return FadeScaleTransition(
    child: child,
    animation: primaryAnimation,
);
...
return showModal<void>(
    context: context,
    configuration: const FadeScaleTransitionConfiguration(),
...