Getx: Keep BottomNavigationBar when push to new screen with Get.to()

Created on 2 Sep 2020  路  2Comments  路  Source: jonataslaw/getx

Hi,

I know, it's not a getx problem.
But is something like this possible with getx?

for example: https://medium.com/coding-with-flutter/flutter-case-study-multiple-navigators-with-bottomnavigationbar-90eb6caa6dbf

Most helpful comment

No widget (yet) to deal with nested navigators, the "key" (pun intended) is to use Navigator( key: Get.nestedKey(int) ... and any GetX navigation command using the same id (int) that you use to create the nestedKey.

I put together a demo as reference.
source,

Hope you find it useful.

All 2 comments

No widget (yet) to deal with nested navigators, the "key" (pun intended) is to use Navigator( key: Get.nestedKey(int) ... and any GetX navigation command using the same id (int) that you use to create the nestedKey.

I put together a demo as reference.
source,

Hope you find it useful.

Thanks, very useful.

I will try as soon as possible.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

NO-ob picture NO-ob  路  4Comments

aytunch picture aytunch  路  4Comments

jemariads picture jemariads  路  4Comments

R-Praveen picture R-Praveen  路  4Comments

NiranjanShah picture NiranjanShah  路  4Comments