Questions tagged [flutter-bottomnavigation]
281 questions
0
votes
1 answer
Is there a way I can create a bottom navigation menu like what is shown n the attachment using flutter
I've spent a lot of time googling on how I can achieve this but failed, maybe I'm googling it wrong, I tried using path, but failed.
I just want all items to change colors only when pressed, and the center docked will retain its shape and…

Frank Slayer
- 31
- 6
0
votes
0 answers
Flutter: BottomNavigationBar malfunctions when referring to the same page/widget
I have a BottomNavigationBar and realized that when I was changing the index I was displaying pretty much the exact same page/widget except for a 2 parameters. So I decided to consolidate the widgets into one that take in the parameters, but the…

FlutterBuilder
- 33
- 5
0
votes
1 answer
Flutter bottomNavigationBar not changing pages (when it's the "same page")
I have a bottom navigation bar and realized that the different pages/widgets that the navigator was going to were pretty much the exact same page (except for 2 parameters that changed). So instead of creating 2 pages/widgets which were pretty much…

FlutterBuilder
- 33
- 5
0
votes
1 answer
Exception caught by widgets library error in Flutter
Source file with incoming error
Bottom Navigation Bar Code

Eyyubi
- 5
- 3
0
votes
1 answer
How to navigate back to bottom navigation bar, from a page without bottom nav bar
I have been struggling to figure out how to navigate back to my bottom navigation bar after navigating to a page without it. Using Navigator pop does not work and produces an error, I have looked at other questions where people asked the same thing,…

alphacruze
- 3
- 4
0
votes
0 answers
DropDownButton in the BottomNavigationBar overflow issue when the aliged dropdown is true?
I have a DropDownButton in the bottom bar navigation. To reduce the size of the DropDownMenuItem. i have given true to the alignedDropdown in the ButtonTheme. But, It causing the DropDownButton to overflow on the right side. I tried to reduce the…

Flutter
- 123
- 1
- 9
0
votes
1 answer
BottomNavigationBarItem - don't turn blue when clicked
My code should allow either one of the two BottomNavigationBarItem "Home" or "Defaults" to be clicked and turned blue. However only the "Home" button remains blue, the other won't turn blue when clicked. The idea is once "Defaults" is clicked it…

rnmuk
- 53
- 5
0
votes
0 answers
flutter: When navigating to specific tab with index, the page is rendering first tab data in third tab
In Bottom Navigation Bar, When navigating to specific tab with index in Gesture detector navigation route, the page is rendering first tab data, instead of indexed tab. The icon in navigation bar is correctly displayed pressed, but the data of that…

Zelda X
- 1
- 1
0
votes
0 answers
How to use a custom asset image as a navigation bar in flutter
how to use an image that I design and use it as the navigation UI image Design bar in my flutter project?
i would like to put this image as shown about at the bottom of the screen where the bottom nav bar should be
but the problem is it has a white…

ORGEVO OFFICIAL
- 1
- 1
0
votes
0 answers
How to put one image and text in one screen and leave the other screens with icons
I'm learning Flutter now and I'm not very handy yet. I have this problem:
basically I have created more screens and I can navigate through them thanks to a "bottomNavigationBar". Now the problem is I just don't know how to put an image and text on…
0
votes
1 answer
I want the boolean to be set true when I click onWillPop in flutter but it not working
I created two widgets and I want to change between this two in the backPress like what I do in the text field but it doesn't work and I didn't get any debug print in onWillPop.
but I have a navigation button and it connect to mainScreen page and I…

Kianoosh
- 1
- 1
0
votes
2 answers
Navigation between pages bottom nav-bar flutter?
I am using flutter. I would like to navigate between pages of bottom nav-bar from inside the body of page.
Not to create a new screen on top of it. And carry data between pages.
I am using classic bottom navbar in flutter with pages in body of…

Samir Omerbegovic
- 13
- 4
0
votes
1 answer
Refresh or rebuild screen in flutter
I have 3 widgets as screens in my homepage. In homepage i have bottom navigation bar to navigate
between these. When I active TextFormField in page one, go to screen two and return to page one TextFormField is still active.
int _selectedIndex =…

kazekkloss
- 7
- 2
0
votes
0 answers
Flutter BottomBar
In the flutter BottomBar the first item is always highlighted. Is there a way to style all items the same way, so that the first item is not highlighted or all highlighted? I define the BottomBar in my ThemeData like :
…

cwhisperer
- 1,478
- 1
- 32
- 63
0
votes
1 answer
Flutter - Vertically Center Both Icons and Labels in Bottom NavigationBar
I want to vertically align bottom navigation bar icons and also labels to center unlike default BottomNavigationBarItem where the label is vertically under the Icon. Here is my effort so far:
import 'package:flutter/material.dart';
void main() =>…

Imrul Emon
- 1
- 2