Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔺 Cannot run app after adding Universe #13

Open
thorvalld opened this issue Apr 5, 2023 · 1 comment
Open

🔺 Cannot run app after adding Universe #13

thorvalld opened this issue Apr 5, 2023 · 1 comment

Comments

@thorvalld
Copy link

thorvalld commented Apr 5, 2023

App fails to run after adding Universe package with Flutter 3.x.x & Universe 1.1.3-nullsafety
BUILD ERR:
../../../../.pub-cache/hosted/pub.dev/universe-1.1.3-nullsafety/lib/src/layer/overlay/image.dart:12:9: Error: Type 'File' not found.

@polaksta
Copy link

polaksta commented Jun 28, 2023

I had the same problem — I had to add
'import 'dart:io';
at the beginning of the file

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

No branches or pull requests

2 participants