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. Thecontent
argument is used to content of alert dialog. ThetextOK
argument is used to text for 'OK' Button of alert dialog. ThetextCancel
argument is used to text for 'Cancel' Button of alert dialog.