showDialogNotification method
Implementation
void showDialogNotification(
{required String title, required String content, Function? onClick}) {
if (_numberDialog > 0) {
Navigator.of(_context).pop();
}
CustomAwesomeDialog(
context: _context,
dialogType: DialogType.INFO,
animType: AnimType.BOTTOMSLIDE,
title: title,
desc: content,
btnCancel: _buildButton('OK', Theme.of(_context).primaryColor,
onClick: onClick),
customHeader: _buildHeader(Icons.priority_high,
color: Theme.of(_context).primaryColor))
..show();
_numberDialog++;
}