(Flutter) Install Flutter SDK
DescriptionClick to copy link
Installs the latest stable/beta or a specific version of Flutter.
InstructionsClick to copy link
-
Add the Flutter Install Step. Use this step before the Cache Pull step to make sure caching works correctly.
-
Install either the latest stable/beta versions or a specific version.
- By default, the Step installs the latest stable version.
- To install the latest beta, set the Flutter SDK git repository version input to beta.
- To install a specific version, set the Flutter SDK installation bundle URL input. You can find the list of Flutter installation bundles here. Make sure you set the bundle based on the stack (MacOS or Linux).
Best practiceWe recommend using a specific version.
bitrise.ymlClick to copy link
Specific version:
---
- flutter-installer@0:
inputs:
- installation_bundle_url: https://storage.googleapis.com/flutter_infra_release/releases/stable/macos/flutter_macos_2.5.3-stable.zip
Latest stable version:
- flutter-installer@0: {}
Latest beta version:
- flutter-installer@0:
inputs:
- version: beta