Questions tagged [bottom-navigation-bar]

86 questions
0
votes
0 answers

Bottom Navigation Bar is getting removed after switch fragments

The Bottom Navigation Bar is getting removed after coming back from a fragment which has visibility none for the navigation bar. What to do This is the fragment in which the bottom navigation is removed …
0
votes
1 answer

2 navigation bar and session dart

i try to make flutter program which contain 2 buttomNavigationBar which is adminTabs and userTabs final userTabs = [ const RecipeHome(), const UserSetting(), const CommunityPage(), ]; final adminTabs = [ const…
zahid
  • 13
  • 3
0
votes
1 answer

custom bottomNavigationBar help need in flutter to call pages into view

I have a working page of code that I wanted to modify for my portfolio. I used this YouTube https://youtu.be/1ToqYMSnNhA and git https://github.com/retroportalstudio/flutter_bnb_v2 to make my design, but now I can't get my pages to call in. working…
kajunkenny
  • 3
  • 1
  • 3
0
votes
1 answer

BottomNavBarItem label not displayed when unselected

@override Widget build(BuildContext context) => Scaffold( appBar: AppBar( title: Text( _titles[_currentIndex], ), backgroundColor: matGreen, ), body: _pages[_currentIndex], bottomNavigationBar:…
kenta_desu
  • 303
  • 1
  • 9
0
votes
0 answers

BottomNavigationBar - Flutter - Unselected items wrongly animated

I am using a BottomNavigationBar with Lottie animations, I set an animation for each navigation item with activeIcon and icon parameters. When I click on a navigation item, it animates correctly however, all the other items do their "off" animation.…
Tom
  • 305
  • 5
  • 24
0
votes
1 answer

material BottomNavigationView hides icons when keyboard is up

I have a simple material BottomAppBar with BottomNavigationView and I see a weird behaviour: every time it shows above the keyboard (the activity where this bar is added has android:windowSoftInputMode="adjustResize") the menu icons on that bar…
0
votes
0 answers

Flutter Android Development: How do I remove the gap left by the status bar?

I want to hide the navigation bar in my app, but now my status bar also disappears and leaves a black space as shown, how do i fix this and make the app fillable full screen. Below is my code at main.dart import…
natt
  • 11
  • 5
0
votes
2 answers

React native Navigation bottom bar with plus bottom

can you please give me a hint how to achieve this kind of menu on react native ImageOne ImageTwo react native bottom navigation
0
votes
1 answer

Go to specific tab from other page

I am using DefaultTabController and BottomNavigationBar to show my tabs. When I want to go to homepage from a different page. For e.g, from SubmitForm() page, I will call navigation back to a specific tab index. In this case, I want to go to…
0
votes
1 answer

Flutter BottomNavigationBarItem label variable

Wehn trying to set a vaiable in the "label" of BottomNavigationBarItem it gives an error in label: myVariable. It seems only allows text as "myText". Is there any way force a variable vlaue? Widget build(BuildContext context) { String myVariable =…
xpe
  • 19
  • 5
0
votes
1 answer

Why doesn't BottomNavigatorBarItem currentIndex get updated?

I am new to flutter and I did find similar questions on SO but am too novice to understand the nuance so apologies if this question is too similar to an already asked one. I have a BottomNavigationBar which has 3 icons (Home, Play and Create) which…
amy
  • 354
  • 1
  • 9
0
votes
0 answers

How to use BottomNavigationBar with preserve state and multiple futures

I want to use the BottomNavigationBar with multiple tabs, each of them should preserve its state. As each tab is containing a list of items based on a JSON parsing from the web, I have to deal with multiple futures. At the moment I have the…
0
votes
1 answer

StreamBuilder for Amplify Auth State on flutter?

Trying to update BottomNavigationBarItems based on user successful signUp/signIn. Not an expert in flutter or AWS, but have tried using either of the following to update a bool flag to render _listA or…
0
votes
1 answer

Persistant Navigation Bar: how can i navigate to navigation tabs from another tabs?

I used persistent_bottom_nav_bar package for my nav bar, and I want to navigate to the tab of the navigation bar from another screen automatically. Here is my bottom nav bar class: class MyBottomNavBar extends StatelessWidget { …
Ali Zareshahi
  • 508
  • 5
  • 15
0
votes
1 answer

Move endDrawer above bottomNavigationBar in Flutter

We have a endDrawer that is displaying behind the bottomNavigationBar. We want it to display over the navigation bar. We may need a refactor but for now, we have a main Scaffold like so: return Scaffold( key: shellKey, drawer: const…