ErrorDialog constructor
ErrorDialog({})
Implementation
ErrorDialog({
Key? key,
required this.errorMessage,
this.previousStatusBarWhiteForeground,
required this.closeFunction,
}) : assert(errorMessage.isNotEmpty),
super(key: key);