How to hide material bottom app bar on scroll but the fab stays - flutter

I have a material bottom app bar widget with a fab search button attached to it in the center. I want it to scroll down (the fab stays) when I scroll the screen.
I want to implement this scrolling behavior.
https://material.io/design/components/app-bars-bottom.html#behavior

Related

How do I create a button with animation in the center of the bottom navigation in Flutter?

enter image description here
I want to use this animation for Bottom Navigation on Flutter, but I don't know what to do.
There are a total of 5 tabs including the button with that animation applied.
Animation button is centered.
Help me, masters.
Floating buttons should not be used...

`CustomScrollView` with `SliverFillRemaining` show jittery effect

I wanted my button to shift below the content when the keyboard opens or there is no space on the screen, and when there is more space it should stick to the bottom of the screen. For that, I use a CustomScrollView but now the jittery effect is there. How can I make this transition smooth?
Here is the video of the screen:
Rendered Screen
In order to align my button on the bottom of the screen, So I used a CustomScrollView with two sliver widgets SliverToBoxAdapter and SliverFillRemaining with hasScrollBody: false and aligned the button by wrapping in a Align and set alignment: Alignment.bottomCenter.
Widget Tree

Draggable but not dismissible bottom sheet in Flutter

How to achieve a behavior when you can drag a bottom sheet but can't dismiss it, e.g., in Uber

How can my BottomNavigationBar float above hero widgets during page transitions?

I want my NavigationBar to float above my Images during page transitions. These images are marked as hero widgets so they expand and get placed at the top of the "details" page, but during the page transition the bottom ones clip with the NavBar, since the NavBar is not persistent in my case and hero widgets are supposed to float above the previous' page widgets.
I know an easy fix would be to also include a NavBar on the next page and mark both as Hero widgets aswell, but I don't want/need the Bar on the details page.
Is there another way to fix that?
Initial state
User pressed bottom image (partly behind the NavBar), it clips through the navigation bar
The image further expands

Content behind SliverAppBar

I use a CustomScrollView and for children I have SliverAppBar and SliverList. So right now list is being rendered after app bar but my app bar is transparent and I would like list to be rendered under app bar (basically ignoring AppBar). Is it possible to do?