How to style BottomNavigationBar in Flutter?

Posted by Pinki | Updated on

Want to style BottomNavigationBar in your Flutter app? There is no option to specify the background color of BottomNavigationBar but to change the canvasColor. One way you can achieve it without messing up the whole app would be by wrapping BottomNavigationBar in a Theme with desired canvasColor.

Here’s an example:

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers