I am trying to add a BottomNavigationBar that whenever you tap the screen (tapping on a map in my instance) or swipe down, its size becomes smaller and some items in it get removed.
For example:

I am trying to replicate the BNB of the app Citymapper
I am trying to add a BottomNavigationBar that whenever you tap the screen (tapping on a map in my instance) or swipe down, its size becomes smaller and some items in it get removed.
For example:

I am trying to replicate the BNB of the app Citymapper
Copyright © 2021 Jogjafile Inc.
One way to achieve this is by adding a transparent layer above the details attached to the bottom navigation bar. In that portion of the UI, you can use
GestureDetectorto handle gestures but this has to be designed usingStack. Here is a minimal code.