You can do this with the help of rflutter package in Flutter. RFlutter Alert is a super customizable and easy-to-use alert/popup dialogs for Flutter. You may create reusable alert styles or add buttons as much as you want with ease. You can see the below example.
title: "RFLUTTER ALERT",
desc: "Flutter is more awesome with RFlutter Alert.",
style: TextStyle(color: Colors.white, fontSize: 20),
onPressed: () => Navigator.pop(context),
To know more about Flutter, join our Flutter Course today.