I've implemented this bottomNavigationBar using a custom clipper. The issue is with the scaffold body.
I wish the body content to be visible from this area of the bottomNavigationBar instead of being occluded by the gray zone.
Do you happen to know if there is a scaffold setup to achieve this? Otherway I might need to come up with a different layout within the body section.
Yes, it's a common problem.
as long as you have used a
Container
and made someclipping
customization for it, to appear looks like aBottomNavigationBar
. it will but stills a container that have a clip path to be rendered.The problem occurs when you realize that, the other part of the container you have clipped still exist, it hides any widget that get behind (Your problem).
So, i recommend the use of
BottomAppBar
and give it aCircularNotchedRectangle
as ashape
.