universe
universe copied to clipboard
🔺 Cannot run app after adding Universe
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.
I had the same problem — I had to add 'import 'dart:io'; at the beginning of the file