showTalawaErrorDialog method
void showTalawaErrorDialog (String errorMessage, MessageType messageType)
Implementation
void showTalawaErrorDialog(String errorMessage, MessageType messageType) {
showDialog(
context: navigatorKey.currentContext!,
barrierColor: Colors.transparent,
barrierDismissible: false,
builder: (BuildContext context) {
return TalawaErrorDialog(
errorMessage,
messageType: messageType,
);
},
);
}