Questions tagged [flutter-drawer]
30 questions
0
votes
0 answers
flutter Drawer controll Pageview return _positions.isNotEmpty if drawer separate from MainView
I am new to Flutter, I just separate the Drawer() to a new file call side_drawer.dart. After i separate them, this error comes, IF i do not serpate them, there is no Error.
══╡ EXCEPTION CAUGHT BY GESTURE …
0
votes
2 answers
Flutter - Open & Close Dialog in Drawer
I have simple drawer and I added this to my mainpage's Scaffold with drawer: CustomizedDrawer() line, and the drawer has only 1 ListTile to Login or Log Out the user. In my main page, you can open & close the drawer from left to right.
I'm using…

Wicaledon
- 710
- 1
- 11
- 26
0
votes
1 answer
How i can do a drawer like this on flutter
I am trying to archive this kind of drawer
0
votes
1 answer
How to create an expandable list in Flutter navigation drawer that uses single app bar for different screens
I need to develop a navigation drawer in flutter and I'm new to flutter, I am using the following code, and this is creating the menu as expected but the problem is
1.handling screen navigation
2.maintaining state and navigating back to the screen…

Padmaja Rani
- 113
- 3
- 10
0
votes
0 answers
How to remove - pop - screens in flutter using navigator 2.0
I am using navigator 2.0 and Provider to add and remove screens. when I navigate using the Drawer(), I am able to go from the first screen to the second screen but not back...thus by selecting the menu item on the drawer. The error I am getting is…

PHTremor
- 1
- 2
0
votes
1 answer
Closing Drawer on Bottom Navigation Bar click, Flutter
I want to close my Drawer widget every time the user presses a button in the Bottom Navigation Bar, but can't quite figure this thing out. The way my setup of the BNB is set now is that the current state of all screen is remembered through out the…

GrandMagus
- 600
- 3
- 12
- 37
0
votes
1 answer
The onTapped of my Drawer tiles gets executed when i click my drawer menu button
So I made a custom app drawer for my flutter app. but now when I click my open drawer menu button, The first else statement of my widget tree gets executed. I am relatively new to flutter. Does anyone know what I'm doing wrong here?
This is The…

Vignesh Jagannadhan
- 15
- 2
0
votes
2 answers
Is there correct way to navigate in flutter through drawer?
I am newbie in Flutter. I want to ask is there correct way to navigate between screens through drawer? Because there is a problem with navigation stack.
|:-------:|
|-------|
|-------|
|-------|
|screen1|
for example if screen 1 has a navigation…

yermakhan
- 49
- 3
0
votes
1 answer
Flutter - Drawer: show existing page if exists, not a new instance
The app I am developing attempts to adopt, as much as possible, the most native experience for Android & iOS users.
To do so, the app runs a CupertinoApp and a MaterialApp.
On iOS, I use the CupertinoScaffold showing a CupertinoTabBar with…

Mackovich
- 3,319
- 6
- 35
- 73
0
votes
1 answer
Image does not load on Flutter Draw Header
I'm new to flutter-dart and I've been trying to load a image to my draw header, so far unsuccessfully. Can anyone shed some light on it? Please find my code below.
class MainDrawer extends StatelessWidget {
@override
Widget build(BuildContext…

Robert SIlva
- 139
- 2
- 7
0
votes
1 answer
Decrease the space between leading and title in flutter
i am trying to reduce the space between enter image description here the leading and title that is notes image and notes title
my part of code is :
drawer: Drawer(
child: ListView(
padding: EdgeInsets.zero,
children: [
…

Nishit Patel
- 11
0
votes
1 answer
Flutter subclass Scaffold so I can ensure a Drawer and BottomNavigationBar are always present
I have a Flutter app with sections that I can access from both a BottomNavigationBar and a Drawer. I have this working in a Scaffold at the root level of my app, and I then use Navigator widgets to create separate routes and stacks within each…

Lee Probert
- 10,308
- 8
- 43
- 70
0
votes
1 answer
How to change the ToolBar Color for the Navigation Drawer
How can I change the toolbar color for the Navigation drawer.

dartKnightRises
- 815
- 15
- 26
-1
votes
1 answer
Flutter Drawer Navigation
I have a list of Screens in a custom drawer.
Screen 1,
Screen 2,
Screen 3
What is the proper way of navigating from Screen 1 to Screen 2 on push of a button. Currently, I am losing the hamburger (the drawer button) option when I push or push…

Ganesh
- 1
- 1
-2
votes
1 answer
Creating a Flutter Drawer with Full Screen Background Color like ChatGPT Android App
I'm attempting to implement a Flutter drawer similar to the ChatGPT Android App, aiming for a fullscreen background color that covers both the top status bar and bottom taskbar. However, I'm encountering difficulties in achieving this effect.…