bizz84 / nested-navigation-demo-flutter

Nested navigation with BottomNavigationBar
https://codewithandrea.com/
MIT License
622 stars 139 forks source link

[Feature] Transitioning between pages using fade in/out animation #3

Open aytunch opened 5 years ago

aytunch commented 5 years ago

Hi Andrea, I really loved this bottomNavigationBar implementation because it persists the states of the pages.

I tried myself very hard but could not get fade in/out animations while changing Offstage page one to another to work.

I believe it would look so much nicer to have a very quick and simple animation transitioning between the pages.

Also while looking at Offstage's documentation it says:

/// [Visibility], which can hide a child more efficiently (albeit less /// subtly). /// [TickerMode], which can be used to disable animations in a subtree.

Do you think Offstage would not be performant if our navigation stacks are deep?

Thanks.

chiragmittal19 commented 4 years ago

@aytunch did you find anything useful about that?

dev-naiksan commented 4 years ago

Much needed.

dev-naiksan commented 3 years ago

Hello Guys, I have made use of PageView instead of Offstage and it works really well. Let me know if you need a snippet.

aytunch commented 3 years ago

@dev-naiksan it would be very nice if I could see the snippet. PageView is ok for my case