Questions tagged [flutter-bottomnavigation]

281 questions
0
votes
1 answer

BOTTOM OVERFLOYD BY 4.7 PIXEL

Hello guys i was trying to add a BottomNavigatorBar in my code i, and i try to add a HomePage to it from another file, so that if i press "Home" it will show the HomePage, both executed perfectly when seperated, but when i try to combine them i got…
0
votes
2 answers

How to Make a Gradient BottomNavigationBar in flutter?

// ignore_for_file: prefer_const_literals_to_create_immutables, prefer_const_constructors import 'package:firebase_auth/firebase_auth.dart'; import 'package:flutter/material.dart'; // ignore: import_of_legacy_library_into_null_safe import…
0
votes
0 answers

Youtube Iframe Player messing up BottomNavBar positoning

When I have the Youtube IFrame player be used on a page, once i navigate back to my previous page the bottom navbar (using speeddial package) is lowered. I don't know what might be causing this but i know its the Youtube player because i tested it…
0
votes
1 answer

How to remove black bar at bottom in Jetpack Compose

in my app I have created a BottomBar with a scaffold using Jetpack Compose. On newer devices (e.g. Google Pixel 6) there is a black bar at the bottom of the App Switcher. How can I remove this? I want it to be the same color as the BottomBar.
0
votes
1 answer

Maintain Bottom Navbar on every screen in flutter

This is the code of my navbar. I can't seem to have it stick to all the sceens when a user navigates to a new page. After moving to a new page and user performs function, the user has to return to the home screen but when user returns to home screen…
0
votes
2 answers

Bottom Navigation bar with back feature

I want to use the Bottom Navigation bar to move between pages the Bottom Navigation bar is exist on every page, and clicking the back button directs me to the home page My main import 'package:flutter/material.dart'; void main() { runApp(const…
ahmed
  • 122
  • 9
0
votes
1 answer

Flutter scaffold extendbody not scrolling

I am using notched FAB icon in bottom navigation bar and to make the notch transparent added extendbody in scaffold. return Scaffold( extendBodyBehindAppBar: false, extendBody: true, resizeToAvoidBottomInset: false, …
0
votes
1 answer

BottomNavigationBarItem selectedItemColor is not working

I need to change color of selected BottomNavigationBarItem to yellow, but it doesn't work. It seems because i set BottomNavigationBarItem default colors as black, but otherwise they will be set as white, cause i created more than 3 items, and i…
Hazmatik
  • 73
  • 6
0
votes
0 answers

Persistent Nav Bar, update active bar item while navigation

I am using Persistent Bottom Nav Bar in my project and I couldn't achieve a simple thing. While navigating from one screen to another without using the bottom nav bar; I want to update the selected (active) nav bar item according to navigated…
bahadir arslan
  • 4,535
  • 7
  • 44
  • 82
0
votes
0 answers

How to use BottomNavigationBar together with Navigator while ensuring that screens doesn't refresh?

I have a scenario where I need to use a BottomNavigationBar while ensuring the following: When changing tabs, where a tab is a particular screen, screens should not refresh, but the state of each screen should be maintained It must be possible to…
0
votes
2 answers

pop until in flutter auto route package does not work

I am using the AutoRoute package for Flutter. I have the following two screens generated using the auto route package, HomeRoute() ProductsRoute() Then from HomeRouteI do the following, context.router.push(const ProductsRoute()); Then inside the…
0
votes
1 answer

(Flutter) How to keep FloatingActionButton docked in the bottom bar when using persistentFooterButtons?

I want my floatingActionButton to stay like this when using persistentFooterButtons If I add persistentFooterButtons, it becomes like this, but I want it lower and docked This is the stateful widget with the bottom bar: class Main extends…
anon
  • 43
  • 1
  • 7
0
votes
1 answer

Flutter change AppBottomNavigation body by tapping on button on another state

I have an AppBottomNavigation for five different states. In the first state, HomeScreen, I have a button. By tapping on this button, the state is to be changed to the third element of the AppBottomNavigation.How exactly can I implement this? I have…
Jeremy Brehe
  • 117
  • 1
  • 12
0
votes
1 answer

How to push on new screens with bottom navigation bar ? I have to show that bottom navigation bar and also manage navigation

I am facing issue regarding bottom navigation bar.Example if suppose i have 3 bottom navigation bar item and its A,B and C.If i click on the C and C is the settings screen and on settings screen i also push on another screen.In this scenario the…
0
votes
3 answers

Flutter mobile app dev- "the named parameter title' isn't defined. I have change it to label" but still getting error. What would be the problem?

This is the code: Have changed title to label as below. But Text(....) was all highlighted in red. Error - "the argument type 'Text' can't be assigned to the parameter type 'String'." @override Widget build(BuildContext context) { var…