Questions tagged [flutter-bottomnavigation]
281 questions
2
votes
5 answers
The Label Color doesn't change on the BottomNavigationBar
The color of the labels of my selected and unselected BottomNavigationBarItems doesn't change... what am I doing wrong? Here is the code:
bottomNavigationBar: BottomNavigationBar(
selectedLabelStyle: TextStyle(color: Colors.black),
…

Tom
- 503
- 1
- 4
- 8
2
votes
1 answer
Flutter ConvexAppBar how to change text style?
When i try to change TextStyle it says "The argument type 'Text' can't be assigned to the parameter type 'String'." How can i change it?
I am using convex_bottom_bar 3.0.0
Sorry for my english if i made mistake
bottomNavigationBar: ConvexAppBar(
…

Fatih Mehmet Yüksel
- 21
- 5
2
votes
0 answers
Flutter manage push and pop for persistent bottom navigation bar
I'm using Custom Tab navigator to manage persistent bottom navigation bar across all the screens.
Due this Tab navigator sits in one StatefulWidget to host the tabs in the app, So unable to pop to the other widget out of these tabs and hosted…

Satya Attili
- 678
- 1
- 8
- 17
2
votes
1 answer
How to Reload Flutter StatefulWidget with AutomaticKeepAliveClientMixin?
How to Reload Flutter StatefulWidget with AutomaticKeepAliveClientMixin?
The below code is Not reloading the Usermovies list StreamBuilder on user logout through firebase, instead showing old user movies data only.
This HomeScreen is called in…

Ramesh Kumar
- 147
- 14
2
votes
1 answer
How to add bottom navigation bar to this flutter code
I have used backdrop navigation and now i am not able to add bottom navigation bar to this code, Please i am new to flutter can anyone help me.
Here is my gridview which works as frontlayer for my backdrop navigation bar.
var myGridView = new…
user9716988
2
votes
3 answers
Flutter: value of currentIndex property in BottomNavigationBar doesn't update when the state updates
I have a BottomNavigationBar that navigates to other pages when pressing an icon. This works fine, except the value of the currentIndex property in BottomNavigationBar doesn't update when the state updates, which means there is no change on the…

Lisa
- 75
- 2
- 4
1
vote
2 answers
How to conditionally define colors of icons in bottom app bar
I want to use a BottomAppBar and due to technical reasons I cannot use the BottomNavigationBar.
How do I define the color of my icons depending on which screen I'm on? I.e. when I am on Screen A, the Sceen A Icon in the BottomAppBar should be white,…

Raul Ponzheimer
- 13
- 4
1
vote
0 answers
Navigating back to Parent screens on pressing a Persistent Bottom NavBar Item
I am using this library to display the bottom navbar when navigating to sub screens inside the parent screen. To gain a better view on this, one of the parent screens look like this,
I am currently navigating back to the parent screens using the…

Maleesha97
- 167
- 1
- 8
1
vote
1 answer
How do i push build context onTap on BottomNavigationBar i want to show changes when i navigate to any page from BottomNavigationBar
I used BottomNavigationBar for bottom bar which changes the current index page but I have some issue with the navigation. When I change the image on any screen, the changes show on inner pages but not show on that pages with navigate through…

RAF Algowid
- 87
- 2
- 6
1
vote
1 answer
Google nav bar in flutter not changing pages as intended
For my flutter project, I am using google_nav_bar. Every time I click on a button in the nav_bar I want to navigate to another page. I want to do this without making the nav bar my home page and loading other pages to the nav bar.
import…

Siddh Purohit
- 19
- 6
1
vote
2 answers
Is it possible to use a bottomNavBar for mobile and a Sidebar for desktop in flutter?
I am currently developing a cross platform app in which I wanted to use a Sidebar for navigation on desktop and tablet view, but a bottom navigation bar for mobile, as it isn't really handy to use a sidebar on mobile.
I have trouble with the…

Tom
- 13
- 2
1
vote
0 answers
How to switch bottom navigation tab without clicking on the bottom navigation bar (Using Persistent Bottom Navigation Bar)?
How can I shift from Tab 1 to Tab 2 by clicking on the Go to Tab 2 button on Screen 1?
The image description of what I want to achieve!
Image
The code for the Persistent Bottom Navigation Bar is given below:
import…

Aikansh Boyal
- 11
- 3
1
vote
2 answers
Problem with floating action button It's notched is not visible
Hello Guys I have a problem with my bottom navigation bar. The problem is that I created a stack, in that there is a container with gradient color and then there is a bottomAppBar, I made the bottomAppBar color transparent. I actual problem is that…

Mr Fin
- 85
- 8
1
vote
0 answers
Kill previous pages when navigating with Persistent BottomNavBar
I'm using the Persistent bottomnavbar because I need the bottom navbar to be always showing on all pages in my application.
https://pub.dev/packages/persistent_bottom_nav_bar
It is working fine generally but it has a problem of creating multiple…

Salar Azad
- 41
- 2
- 9
1
vote
1 answer
Flutter: How to use a button that has the same effect as clicking on a BottomNavigationBar?
I have a Dart file named page0.dart and this only includes a BottomNavigationBar.
BottomNavigationBar has 2 items in it which redirects me to dashboard.dart and target.dart, the navigation via the BottomNavigationBar works as expected.
Now the…

lophix
- 15
- 4