0

In Flutter with a Material 3 (m3) app, I am using a NavigationBar as bottomNavigationBar of a Scaffold. How can I disable the active indicator for all destinations?

My use case is my app has pages which do not correspond to the bottom destinations. In such a case, I want to still show all the tabs (being inactive) in the bottom navigation bar.

I know that for a m2 material app, there is a workaround. So far, I have not been able to make it work on m3.

user2428094
  • 1,643
  • 2
  • 10
  • 6

0 Answers0