I am building gallery app that displays items in list/grid and upon press it transitions to detail view. I am using hero animation for main image element and I want to animate parts of detail view after hero transition is done (fade in fab, slide in texts etc).
Is there any property or callback that I can use to listen for hero animation updates and start my animation in smth like onAnimationEnd?
I know that I can "hack" the solution and start my fade in animation 300ms (this is default duration of hero animation as far as I remember) after view is pushed to screen but it does not feel right.
ModalRoute.of(context).transitionDuration. At least it will be delay by the right amount of time. - spkersten