I'm struggling to find some information regarding Flutter and Dart versions and am hoping you can help me clear up some things.
Is one version of Flutter always tied to one version of Dart? E.g. Flutter 1.27.0 uses only Dart 2.13.0? If not, how do i change my Dart version, or can i only change the range of Dart versions using the sdk field in the pubspec file?
I have a pub package. It is currently for dart sdk versions >=2.7.0 <3.0.0 and I'd like to migrate it to null safety. For that i have to use at least dart sdk 2.12.0. After I migrate, does that mean that anyone using Flutter 1 and Dart versions lower than 2.12 won't be able to use the package?
Also, is there any statistic on percentages of usage per Flutter/Dart version? If I'm going to migrate to null safety I'd at least like to know that most users have already migrated and will be able to use my package.