HeroBuilderForSlidingPage typedef

HeroBuilderForSlidingPage = Widget Function(Widget widget)

Build Hero only for sliding page the transform of sliding page must be working on Hero so that Hero animation wouldn't be strange when pop page

Implementation

typedef HeroBuilderForSlidingPage = Widget Function(Widget widget);