How can I change the elevation (z-index) of the back button in flutter

I use a Stack, DraggableScrollableSheet, and a BottomAppBar in my code. The AppBar has elevation of 0, and a transparent background. The Scaffold has extendBodyBehindAppBar set to true.

The problem i'm facing is, the back button is visible on top of the DraggableScrollableSheet when it's dragged all the way up.

My question is, how can I put it in it's expected place, under the DraggableScrollableSheet?

Thanks...

enter image description here

enter image description here



Read more here: https://stackoverflow.com/questions/66991882/how-can-i-change-the-elevation-z-index-of-the-back-button-in-flutter

Content Attribution

This content was originally published by Hazem Saeed at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: