components/dialog library

Functions

alertDialog({String title = 'Alert', String content = 'Alert message', Function? confirm}) Future
confirmDialog({String title = 'Confirm', String content = 'Are you sure?', Function? confirm, Function? cancel, String confirmLabel = 'Yes', String cancelLabel = 'No'}) Future