How do you use CupertinoAlertDialog?

showCupertinoDialog( context: ctx, builder: (_) => CupertinoAlertDialog( title: Text(“This is the title”), content: Text(“This is the content”), actions: [ // Close the dialog // You can use the CupertinoDialogAction widget instead CupertinoButton( child: Text(‘Cancel’), onPressed: () { Navigator. of(ctx).

Sizin İçin Seçtik  Is recursion still used?

Leave a Reply

Your email address will not be published. Required fields are marked *