Answers for "no material app in showdialog() flutter"

4

showdialog with builder flutter

showDialog(
        context: context,
        builder: (BuildContext context) => new AlertDialog(
          title: new Text('Warning'),
          content: new Text('Hi this is Flutter Alert Dialog'),
          actions: <Widget>[
            new IconButton(
                icon: new Icon(Icons.close),
                onPressed: () {
                  Navigator.pop(context);
                })
          ],
        ));
Posted by: Guest on November-02-2020
2

flutter alertdialog actionsoverflowdirecation

actionsOverflowDirection: VerticalDirection.down, // VerticalDirection.up
Posted by: Guest on August-23-2021

Code answers related to "no material app in showdialog() flutter"

Code answers related to "Dart"

Browse Popular Code Answers by Language