For questions relating to Flutter's AlertDialog class. Use this tag in combination with the general [flutter] tag. If your question applies to Flutter more generally, use the [flutter] tag only.
Questions tagged [flutter-alertdialog]
157 questions
0
votes
2 answers
Flutter:Couldn't Show the AlertDialog
When I click the button, I want to show a dialog when the process is finished, but although I add the dialog part I cant see alertdialog in my screen.
Where am I doing wrong? here's my code;
child: InkWell(
onTap: () async {
…

kimSoo
- 283
- 1
- 4
- 10
0
votes
1 answer
Customize The Native Alert dialog in flutter applicaton for iOS or Android for Face Id implementation
Below is the method to authenticate biometric access in flutter application which is successfully implemented.
If the error happens it shows a alert dialog box as shown in the image in iOS application, I want to customize this alert dialog box, how…
user14155631
0
votes
1 answer
Flutter & AlertDialog : How to stretch a container so that it has the same width with the AlertDialog box?
I have been trying to make a button in AlertDialog box in Flutter. But I cannot find a way to stretch the button container. Please check my code and see the example picture below.
AlertDialog(
title: Center(child:…

Punreach Rany
- 2,560
- 7
- 23
- 56
0
votes
1 answer
AlertDialog barrierDismissable not working?
I have an AlertDialog with 1 button. Although I have set the barrierDismissable set to false, in iOS, the dialog can be still dismissed when the user clicked outside of the box.
I can accept either:
When the user clicked outside the box is there a…

Calvin
- 321
- 2
- 16
0
votes
1 answer
Flutter AlertDialog with StreamBuilder Error
I am getting an error when trying to stream data inside an AlertDialog box that I have pop up when you click an icon. I understand that the issue involves the streambuilder build happening when it's not allowed to, but I have not found a way to…

codenstuff
- 97
- 1
- 8
0
votes
3 answers
How to display text below the image?
i'm trying to display text of each picture below to that picture in an alertdialog like rating a score. I tried to use stack widget and this is the result the result. Text is in front of the picture and not display below th picture but i just want…

Sprizx
- 93
- 1
- 4
- 11
0
votes
4 answers
How to make Alert Dialog working in flutter
I am using below code to register the user, there is an option to upload image , if it is null the user won't be registered, that is working accurately, only thing I am facing is that if the image is null it should the alert dialog to the user , but…
user13410550
0
votes
1 answer
Flutter Alert Dialog Not Centered
I'm creating a Flutter mobile application. I have a Scaffold with a Drawer that is Centered in the App Like This:
Centered Drawer: https://ibb.co/s5BMdNM
When The User Taps on the 2nd ListTile which is "Filter Character / Choose Categories", an…

Zeyad Ahmad Aql
- 63
- 1
- 10
0
votes
1 answer
Making an AlertDialog with Dropdownbuttons in Flutter scrollable
I have an AlertDialog in Flutter that shows some various filtering & sorting options via dropdownbuttons. However, I want it to be scrollable as soon as there are too many elements to display. Putting a Listview into it results in a grey box for the…

Salatgurke
- 1,554
- 1
- 13
- 35
0
votes
1 answer
Implementing a Dialog to filter a List in flutter
I created a ListView with an AppBar with a SearchIcon and a filter Icon on it.
When the filter Icon is clicked, it opens an AlertDialogue.
In this AlertDialouge I want the user to be able to tick off several filter options and apply them to the…

Salatgurke
- 1,554
- 1
- 13
- 35
0
votes
1 answer
Update marker in Google maps alertdialog in flutter
I am trying to load googlemap(google_maps_flutter 0.5.25+1
library) on a dialog window using the following method
_loadMapDialog() {
try {
if (_currentPosition.latitude == null) {
Toast.show("Location not available. Please wait...", context,
…

Hanis
- 309
- 1
- 6
- 15
0
votes
1 answer
How to set width of Alert dialog in flutter?
I want to add width to my alert box in flutter. How can I achieve that? What ever I am trying to increase the width its not getting reflecting. why? inside of Alert dialog class they have added the min width as 280 so in this case what I have to…

Ganesh
- 83
- 1
- 10
0
votes
1 answer
How can I implement AlertDialog box inside ListView in Flutter Android app automatically without pressing any button?
I am working on a project where I have created a RestApi where I have data of cars and which I keep updating every 3 sec. The cars are at a junction of 4 roads, now when a car is approaching towards a particular road denoted by id the "is_green"…

Ravi
- 21
- 5
0
votes
3 answers
How to make body of AlertDialog is Image?
I want to make AlertDialog like this bellow:
I try to build that with my code like this:
return Center(
child: AlertDialog(
shape: RoundedRectangleBorder(
…

R Rifa Fauzi Komara
- 1,915
- 6
- 27
- 54
0
votes
3 answers
How to show alertdialog when button is pressed?
Following is the part of my homepage.dart which is running fine but on click of IconButton nothing happens.
...
return Scaffold(
appBar: AppBar(
title: Text('Lorem Ipsum'),
leading: IconButton(
icon: Icon(Icons.info),
…

Aadarsh Patel
- 167
- 4
- 14