Skip to content
This repository was archived by the owner on Nov 24, 2020. It is now read-only.

Error: type 'FlutterError' is not a subtype of type 'String' #57

Closed
rignaneseleo opened this issue May 8, 2020 · 1 comment · Fixed by #59
Closed

Error: type 'FlutterError' is not a subtype of type 'String' #57

rignaneseleo opened this issue May 8, 2020 · 1 comment · Fixed by #59

Comments

@rignaneseleo
Copy link

Hi, I'm getting this error on v1.2.2:

E/flutter (16962): [ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: type 'FlutterError' is not a subtype of type 'String'
E/flutter (16962): #0      ProgressDialog.hide (package:progress_dialog/progress_dialog.dart:119:18)
E/flutter (16962): #1      restoreDataFromFile (package:my_grand_kids/managers/backups_manager.dart:427:33)

This is what I have on backups_manager.dart:427:
if (context != null) await pr.hide();
where pr is a ProgressDialog.

What could that be?

@haaris94
Copy link

haaris94 commented May 9, 2020

I am also getting the above error

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants