Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
58 views

I am using GoRouter in Flutter to handle navigation and show a page with a slide-up animation. However, when I try to show a confirmation dialog (AlertDialog) before dismissing the page, the slide-...
dev2019's user avatar
  • 71
1 vote
2 answers
119 views

I have a simple ListView in my alert dialog. It allows a user to make selection and once selected, the list tile color changes. The weird issue that I am having is for the selected tiles, when I ...
Mervin Hemaraju's user avatar
0 votes
2 answers
93 views

I am trying to get data from an API, which I did successfully, and show the data in a dialog box on my Flutter App. Initially what I did was create a function void _showDialog() right after the ...
I. Antonov's user avatar
0 votes
2 answers
413 views

When the user is moving around in my Flutter application, I wish to be able to track where the user goes and how they reach it. For now, it seems that the router would be updated when a user is ...
Terry Windwalker's user avatar
0 votes
2 answers
216 views

I am working on flutter app, where I am generating QR code for payment. When user click on Generate QR code button, it will call an API which return svg. My problem is that when I receive this svg ...
Marek's user avatar
  • 119
0 votes
2 answers
264 views

I'm encountering a strange issue with AlertDialog in Flutter, specifically with its scrolling behavior. The AlertDialog displays as intended and its basic functionalities work properly. However, when ...
StativBus's user avatar
0 votes
3 answers
355 views

I know there are several similar questions listed, but I can not resolve it after I tried some solutions from previous questions. :( I want to do a network check and show a dialog if it has no network ...
RayOvO's user avatar
  • 93
1 vote
2 answers
632 views

I have a two screens. Screen A and Screen B. I have a button on Screen A. when I click on it. It shows a dialog. after that I have a used Future.delayed(). when duration is over I move to the Screen B....
Faheem Riaz's user avatar
20 votes
1 answer
14k views

I am currently using showGeneralDialog to present a dialog popup like this: This is all fine and good, but it happens at the root Navigator level, and I would rather have all my views as a Go Router ...
Clifton Labrum's user avatar
2 votes
3 answers
4k views

I'm working on a website made in Flutter. I want that after some action is completed successfully, a dialog is displayed, it closes automatically, and it goes back to the previous page. My problem is ...
l.diazborg's user avatar
2 votes
1 answer
3k views

I want to ask user "Yes" or "No", to continue (or not) some action. I have code that shows alert, but don't know how to close automatically alert dialog after user have clicked one ...
PrertoQuebas's user avatar
1 vote
1 answer
197 views

I am using a WebView to show an embedded youtube video. After that I show an AlertDialog that appears over that WebView and if I tap on the AlertDialog area, the behind video will handle the tap ...
Miguel Gamboa's user avatar
0 votes
1 answer
242 views

I am trying to execute a function after a dialog is dismissed/popped. I read this article How to run code after showDialog is dismissed in Flutter? and tried to do it as recommended but it wouldn't ...
Yuki's user avatar
  • 325
0 votes
1 answer
175 views

Hi I'm trying to change the view when I do setState() in dialog in flutter. I heard that it would be fixed by wrapping contents in showDialog() by StatefulBuilder(), but it didn't work. I don't know, ...
Nao COMATSU's user avatar
0 votes
1 answer
1k views

I need to show Alert Dialog above the existing Alert Dialog, the code is when I tap on the list tile, the first alert will appear, when I tap on save on the first dialog, the sound will appear, is ...
Abdallah Y. Abu Asab's user avatar
-1 votes
1 answer
436 views

In Flutter, use showGeneralDialog to show a dialog and use barrierDismissible to make it can not be closed when click outside. But i want to make it can not be closed when click outside for first 2 ...
I'm MasY's user avatar
5 votes
5 answers
4k views

I was using Navigator 1 then I migrated to go_router to support deep links and web. Sometimes when I send HTTP requests, I show a loading dialog using showDialog() until the response is processed, ...
Khalid Muhammad's user avatar
1 vote
2 answers
174 views

How can I to close all the showDialogs in my aplication? in this case _mostrarDialogConfirmacion is the dialog where i request to the user a confirmation to make a query, cargandoDialog is another ...
Agustin Coronel's user avatar
0 votes
3 answers
548 views

I have made a SimpleDialog to give the user the option to modify, but I have noticed that on small screens it doesn't scroll so it is cut off and cannot even be accepted. I have seen in some other ...
Tatiana Sánchez's user avatar
1 vote
1 answer
227 views

When using showGeneralDialog - is it possible to use a different transition and duration for displaying a dialog than for hiding the dialog again? E.g. a Curves.elasticOut for showing and a shorter ...
derChris's user avatar
  • 910
1 vote
1 answer
53 views

I used to make a text ('Loading') to be centered in the show dialog but what happened is the text is appearing in a bad way as when we make a screen without scaffold, it is appearing here the same, I ...
Flutter Dev's user avatar
0 votes
1 answer
774 views

I have a dialog which has the datePicker inside but when I select the date the Text("${selectedDate.toLocal()}".split(' ')[0]), is not updating. How can I solve this?. I have try so many ...
It'sPhil's user avatar
  • 117
0 votes
1 answer
1k views

I am trying to design my dialog like in the picture below. However, I can't seem to wrap my head around how to do it. Because I am new started in Flutter. Below is my code: showDialog( ...
Amin Azizzadeh's user avatar
0 votes
1 answer
435 views

I need to change a Boolean value from a Dialog. It works if I have my Checkbox on my page, but not when I try it in a Dialog. How can I get the value of ìsselected1 from my Dialog to my page? Here is ...
Alexander's user avatar
1 vote
1 answer
728 views

So I have this function to show a reusable dialog that have a list of widget. The main problem lies in the dropdown and the text field. to begin with my dropdown value is A and I wanted the text field ...
Kim San's user avatar
  • 855
0 votes
2 answers
907 views

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 &...
Wicaledon's user avatar
  • 840
0 votes
1 answer
1k views

I know I can use a GestureDetector to detect taps on other widgets. But what if I want to detect any and all taps, no matter what is being displayed at the moment - i.e. even if a dialog or menu is ...
Magnus's user avatar
  • 19.1k
0 votes
2 answers
477 views

I'm trying to create an app in Flutter. When a particular button is pressed a Dialog shows up. In the dialog, the user can write to TextField. I want to use this text in the previous screen when the ...
Ballazx's user avatar
  • 579
0 votes
1 answer
351 views

I am trying to get my Flutter Dialog to show page indicator dots based off the onPageChanged setState and it doesnt seem to be working. What is happening is the dots are appearing and one is ...
Mark McKeon's user avatar
0 votes
1 answer
46 views

showDialog( context: context, builder: (BuildContext context) { return AlertDialog( content: Container( width: double.maxFinite, ...
user avatar
1 vote
3 answers
1k views

I want to hide the first alert dialog when I call showDialog() from it. After that when I close the second dialog I want the first dialog was visible again. How I can achieve this?
vovaklh's user avatar
  • 119
0 votes
2 answers
53 views

Hi I'm trying to use aligned_dialog package from flutter to show certain dialog for my button in my separated class but it show argument type error co-related to the builder. How can I fix this ? ...
Kim San's user avatar
  • 855
0 votes
1 answer
357 views

I would like to pass the value from timePicker.dart to showTime.dart,and I had tried global variable but the TextFormField controller in showTime.dart only got the initalized value. //global.dart ...
Ae Gg's user avatar
  • 29
1 vote
1 answer
3k views

I have created a container. His child is a text. When I tap on the container/text, it display a modal and a Picker. Then, the user can select a value. Press the confirm button and my text widget ...
Laurent Thomas's user avatar
0 votes
3 answers
2k views

I need a TextField inside Wrap widget. But it throws this error, The _RenderDecoration class does not support dry layout .... .... ════════ Exception caught by scheduler library ════════ Updated ...
Santo Shakil's user avatar
  • 1,052
1 vote
1 answer
921 views

I'm trying to add a dropdown list, depending, for Android I'm using DropdownButton, for iOS a CupertinoPicker: Platform.isAndroid ? AndroidSelect( items: ([0] + priceOptions), value: minPrice, ...
hansaplast's user avatar
  • 11.7k
0 votes
2 answers
48 views

I have a custom popup built, and an image is supposed to change whenever one of my variables is changed. When I call the setState method, the content in my showDialog doesn't change. What am I doing ...
Jorge Zapata's user avatar
2 votes
1 answer
773 views

Before I reach to my alert demo.. I am stuck in the beginning.. In my alert dialog there is a textField in content, I have set an error text if textfield is empty but even after typing this error text ...
Irfan Ganatra's user avatar
0 votes
3 answers
283 views

I'm trying to make a popup menu for my appbar, but when the menu is open, I cannot press a button on the scaffold before dismissing it first. This is similarly true for dialog widgets. How can I ...
weg's user avatar
  • 21
1 vote
1 answer
398 views

Greetings everyone I'm new to flutter I need help implementing the simple feature of the Dialog. I have a listTile consisting of members with different roles (Tressure, Secretary, Chair Person, and ...
Advocate_Sandile's user avatar
0 votes
2 answers
1k views

I'm trying to style a Dialog() widget; but it doesn't realy let me deal with height and widht as I'd usually do it. In a nutshell: I placed all content in a Container and I want that container to only ...
Joe's user avatar
  • 451
1 vote
4 answers
5k views

What I want to achieve: I want to open a pop up explaining my app when it starts. My approach: As far as I understand it from googling the issue, I should use the showDialog() method. In its most ...
Joe's user avatar
  • 451
0 votes
1 answer
1k views

My application consists of two screens. The first screen runs a timer which calls a showDialog on its end. The dialog should appear only on the first screen. But whenever I'm navigating to the second ...
genericUser's user avatar
  • 7,574
2 votes
3 answers
571 views

I have a dialog that appears after user click on send button . When dialog appears , I want to show a text after 5 seconds . I use Future.delayed but the text doesn't appear at all . It appears only ...
Ahmed Elsayed's user avatar
9 votes
2 answers
8k views

I have a dialog and I wrap it in a blocbuilder to update it according to the type of state but the dialog just is built First time and after state has changed it doesn't rebuild. showDialog( context:...
Parisa Baastani's user avatar
0 votes
1 answer
331 views

I have Widget1 which opens up ModalBottomSheet. ModalBottomSheet contains TextField(EditText) & one button. User can input values to TextField that can make button enable/disable based on some ...
user2050075's user avatar
0 votes
1 answer
1k views

I have DropdownButtonFormField when I click on it a DialogBox with a list of items should appear, so I can select one item and it should return the selected item in DropdownButtonFormField.I tried ...
Shanmukha's user avatar
  • 2,624
1 vote
2 answers
4k views

I want to show dialog when I press the button I want to be navigated to another page and then I want to show a dialog indicating that I have been navigated to that page. So I try this code; InkWell( ...
Rkdio's user avatar
  • 331
0 votes
2 answers
1k views

I have a scenario where i have one popup in screen A .It will be triggerd from initstate() . User can navigate to screen B after clicking on button inside the popup . How can i show the popup if user ...
vkas dev's user avatar
  • 111
0 votes
1 answer
828 views

Dialog is not working properly with singlechildscrollview and soft keyboard in flutter. Problems: Dialog design is gone under the soft keyboard Scroll is not properly working when open soft keyboard ...
Milan Ribadiya's user avatar