Flutter Version Management
When Shorebird CLI is installed, it pulls down the latest stable version of Shorebird’s Flutter. In this section, we’ll take a look at how to list and change the Flutter version used by Shorebird CLI.
Shorebird supports creating a release with older versions of Flutter (back to 3.10.0), a release created with one of these versions may not contain all of the most recent Shorebird features. Because of this, we recommend using the latest stable version of Flutter whenever possible.
To list all Flutter versions Shorebird has published, use the
shorebird flutter versions list
command:
By default, Shorebird will use the latest stable version of Flutter. If you need
to create a release with a different version of Flutter, you can use the
--flutter-version
option with the shorebird release
command:
Any patches created with this release will be built with the version of Flutter used by the release.
At this time, not all functionality is supported for each Flutter version.
Android requires Flutter 3.10.0 or later.
package:shorebird_code_push
requires Flutter 3.10.6 or later.
iOS requires Flutter 3.16.9 or later.
We would like Shorebird to support to as many Flutter versions as possible. If there are older versions of Flutter which you need Shorebird to support, please let us know.