const ErrorScreen({ Key? key, this.onPressed, this.msg = 'Something went wrong, please retry.', }) : super(key: key);