Dart SDK version mismatch while installing build_runner
This is an issue with the latest releases of dart, analyzer, and flutter creating conflicts with each other, which you can read more about at this Github issue. There likely is no real issue with your configuration.
A temporary solution that I've seen is to use a dependency override of the analyzer:
dev_dependencies: build_runner: ^1.10.0dependency_overrides: analyzer: 0.39.14
I encountered this problem after doing some cleaning up of my directories and having downloaded/installed the latest flutter. Bam. Then I realised that version of flutter sits by default on channel stable. After switching to master, it solved my problem, i.e.:
flutter channel masterflutter upgrade