Bottom Navigation Center Icon Background problem fix

Here is how it shows when we add a centered bottom navigation bar icon normally.

But we can fix the problem just by adding a line of code in the Scaffold() and that is
extendBody: true,
That will remove the background color problem from the floating action button.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top