Skip to content

Flutter

How json2vars-setter handles Flutter, and how the example workflow provisions it.

json2vars-setter integration

Item Value
Matrix JSON key versions.flutter
Action output versions_flutter
Dynamic-update strategy input flutter-strategy (stable / latest / both)
Version source see Version Sources

Supported runners

The example matrix runs on Ubuntu / macOS:

ubuntu-latest, macos-latest

Any GitHub-hosted runner the setup action supports also works - the OS list is just the os array in your matrix JSON.

Supported versions

Example matrix (what the example workflow runs):

1
2
3
4
5
6
7
8
{
  "versions": {
    "flutter": [
      "3.44.2",
      "3.41.9"
    ]
  }
}

Latest values tracked by the dynamic-update tooling (auto-refreshed from the release APIs into the version cache):

Field Version
stable 3.41.9
latest 3.44.3

Cache last updated: 2026-06-24T12:28:47.638771.

Setup action (example workflow)

flutter_test.yml provisions Flutter with the matrix value json2vars-setter produced:

1
2
3
4
5
- name: Set up Flutter ${{ matrix.flutter-version }}
  uses: subosito/flutter-action@v2.23.0
  with:
    flutter-version: ${{ matrix.flutter-version }}
    channel: stable

Note: Flutter bundles its own Dart SDK and is tracked separately from Dart.

References