Trying to use showDialog()/show Pop up on app startup

<strong>What I want to achieve:</strong> I want to open a pop up explaining my app when it starts. <strong>My approach:</strong> As far as I understand it from...

AlertDialog or SnackBar after user is successfully logged in

I need a little help with an issue I can't seem to understand quite completely. I am pratcicing with AWS and I need to display a message for my Login screen after the...

Flutter showDialog

Can i showDialog inside a function without passing context? <pre><code>void test(){ showDialog(context: context, builder: (_) =&gt; AlertDialog( content:...

Flutter - returning content from AlertDialog

the idea of the code is that when the user press add, he can type a barcode or simply exit from the alert Screen. When the barcode is validated, an object is generated...

How to make body of AlertDialog is Image?

I want to make AlertDialog like this bellow: <a href="https://i.stack.imgur.com/gSOfr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gSOfr....

RangeError (RangeError (index): Invalid value: Valid value range is empty: 0) error when deleting an item from a list from an alert dialog

I am pretty new to flutter and am following a course and ran into this error: <pre><code>RangeError (RangeError (index): Invalid value: Valid value range is empty:...

Incorrect use of ParentDataWidget (No stacktrace)

I have the following layout for an alert dialog: <pre><code>AlertDialog( title: Text('Some Text'), content: StatefulBuilder(builder: (BuildContext...

Update alert modal child from parent

I'm calling show my dialog when a button is pushed to display the progress of an upload which is in the parent. Throughout the upload function's parts I'm updat...

values in alert dialog not update from outside

I need to show a progress bar like below : <a href="https://i.stack.imgur.com/uivHP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uivHP.png...

Cannot compile SchedulerBinding.instance.addPostFrameCallback and executeAfterBuild() async not working either

In my app the user is presented with a puzzle, drawn by a re-implementation of Flutter's CustomerPainter class and accepting moves made by tapping on the Canvas. The C...

How can I stop the background screen is moving to another screen while alert box appears?

I'm using 4 images in each screen. By setting the timer I can see the screen changing within 4 seconds automatically. In each screen below I have given a button for al...

Disable AlertDialog button on value change of TextFormField Flutter

In My <strong>First</strong> Flutter Project, I am trying to get value from <strong>TextFormField</strong> inside a <strong>Alert Dialog</strong>. I am trying to valid...

How to pass data from alertdialog to page in flutter?

I am passing data from my alertdialog to item of listview. Where I can find information about it? I tried use TextEditingController, with Navigation R...

Get.defaultDialog with ListView.builder is throwing exception

I am having an <code>AlertDialog</code> with a <code>ListView.builder</code>. without giving definite height and width, the alert dialog is not showing. the list I hav...

How to avoid bottom overflow when keyboard open (in alert dialog)

In this screen i'm facing overflow every time I open keyboard in the alert text field. I already tried to put <code>SingleChildScrollVIew</code> in all the places and...