-
copy these files into a new directory (make sure lib_main.dart is placed in lib/main.dart)
-
make sure you have a copy of flutter cloned and the tools on your path
-
run
dartanalyzer lib/main.dart
and notice NO WARNINGS -
run
flutter packages get
-
run
dartanalyzer lib/main.dart
and notice WARNINGS -
open
.packages
-
comment out the line for sky_engine
-
run
dartanalyzer lib/main.dart
and notice NO WARNINGS
For some reason, including sky_engine in your .packages
is enough to trigger the warning.