canonical / flutter-snap

GNU General Public License v3.0
18 stars 8 forks source link

Latest master commit with Dart 3 installed for ARM #95

Open ernesto-elsaesser opened 1 year ago

ernesto-elsaesser commented 1 year ago

For ARM machines, the flutter.sh script installs Flutter from the GitHub repository, using the latest commit on the master branch:

https://github.com/canonical/flutter-snap/blob/main/flutter.sh#L49-L55

Currently, the master branch is already on Dart 3.0.0 - which is neither officially released nor supported by pub packages (compare https://github.com/flutter/flutter/blob/master/bin/internal/engine.version).

This of course makes such an install unusable. The flutter.sh script should instead check out some sensible tag/release.

jpnurmi commented 1 year ago

It's probably a relic from times when arm64 was only supported on the master channel.