warning method
Implementation
Future<void> warning(BuildContext context, String message) async {
return showDialog<void>(
context: context,
barrierDismissible: false,
builder: (BuildContext ctx) {
return OmegaWarningDialogWidget(
description: message,
textColor: Colors.black,
bgColor: Colors.white,
);
},
);
}