The following is a simple example of how to create a simple alert with two button in Flutter, import a import ‘package:flutter/cupertino. dart’; and Copy and paste below code and Call it showAlertDialog(context); where you want to show Dialog .24 Kas 2018