Fred’s Flutter Newsletter

Fred’s Flutter Newsletter

Share this post

Fred’s Flutter Newsletter
Fred’s Flutter Newsletter
The Secret To Writing A Flutter Animated Indexed Stack Widget

The Secret To Writing A Flutter Animated Indexed Stack Widget

One of the steps towards Adaptive Scaffold and Canonical Layouts

Fred Grott's avatar
Fred Grott
Aug 12, 2024
∙ Paid

Share this post

Fred’s Flutter Newsletter
Fred’s Flutter Newsletter
The Secret To Writing A Flutter Animated Indexed Stack Widget
1
Share

The chaotic ADHD fueled copy monkey approach is to surrond the indexed stack widget with AnimationSwitcher; notice its not keeping state and throw up your hands. In my uncontrolled ADHD copy monkey days this was certainly the result.

Or, one could look at the IndexedStack source code itself and figure out where the state is being lost. Then re-implement a animation of indexed stack children that works.

AND! Yes, a bonus in that I show you to workaround to use the pre-written PageTransitionsThemes with GoRouter.

This is one more step towards a full working Responsive Animated Adaptive Scaffold and Canonical Layouts solution. You know that one highlighted in the Material Design 3 spec and described as upcoming under resources.

Share

Keep reading with a 7-day free trial

Subscribe to Fred’s Flutter Newsletter to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Fred Grott
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share