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: OmegaLibConfig.dialogFieldStyle.textColor,
bgColor: OmegaLibConfig.dialogFieldStyle.bgColor,
);
},
);
}