I published a package to pub.dev that uses the Flutter SDK version 1.6.3 which as of today is the beta channel
However the pub analyser uses v1.5.4-hotfix.2 which does not have those API changes just yet, presummably because it is using on the stable channel
When I specified the min version in the pubspec.yml file for flutter it outright failed
STDERR:
ERR : The current Flutter SDK version is 1.5.4-hotfix.2.
|
| Because ...... requires Flutter SDK version ^1.6.3, version solving
failed.
pub finished with exit code 1
Is there a way to get the pub website to accept the beta channel builds and not have the package fail?
I've found this thread https://github.com/dart-lang/pub-dev/issues/2283 and seems you have to use the stable channel version to publish a package