universe icon indicating copy to clipboard operation
universe copied to clipboard

🔺 Cannot run app after adding Universe

Open thorvalld opened this issue 1 year ago • 1 comments

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.

thorvalld avatar Apr 05 '23 02:04 thorvalld

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

polaksta avatar Jun 28 '23 09:06 polaksta