Open leafpetersen opened 6 years ago
I should respect any setting in the analysis options file for the project; does if have the super mixins setting enabled?
Hmm, but w/o an explicit analysis options file, it should pick up the setting from flutter, which does enable super mixins.
Yes, this is a flutter project (spritewidget). There's no explicit .analysis_options file.
leafp-macbookpro:particledesigner leafp$ pwd
/Users/leafp/src/spritewidget/example/particledesigner
leafp-macbookpro:particledesigner leafp$ ~/src/flutter/bin/flutter packages pub global run dart2_fix --apply lib
Updating lib...
error - lib/particle_designer.dart:27 - The class 'SingleTickerProviderStateMixin' can't be used as a mixin because it extends a class other than Object
Found 1 analysis error; no changes applied (in 2.4s).
pub finished with exit code 1
Attempting to fix an external flutter package, I see: