confirm_dialog library

Functions

confirm(BuildContext context, {Widget? title, Widget? content, Widget? textOK, Widget? textCancel}) Future<bool>
The title argument is used to title of alert dialog. The content argument is used to content of alert dialog. The textOK argument is used to text for 'OK' Button of alert dialog. The textCancel argument is used to text for 'Cancel' Button of alert dialog.