diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index b2a80e2199..d6c63050c0 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -33,7 +33,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@9e0d7b8d25671d64c341c19c0152d693099fb5ba + uses: github/codeql-action/init@7211b7c8077ea37d8641b6271f6a365a22a5fbfa with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -44,7 +44,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@9e0d7b8d25671d64c341c19c0152d693099fb5ba + uses: github/codeql-action/autobuild@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # ℹ️ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -58,4 +58,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@9e0d7b8d25671d64c341c19c0152d693099fb5ba + uses: github/codeql-action/analyze@7211b7c8077ea37d8641b6271f6a365a22a5fbfa diff --git a/.github/workflows/compile_host_redirect_js.yml b/.github/workflows/compile_host_redirect_js.yml index bd82dcb4b7..abdbfa078e 100644 --- a/.github/workflows/compile_host_redirect_js.yml +++ b/.github/workflows/compile_host_redirect_js.yml @@ -18,12 +18,13 @@ env: jobs: compile_host_redirect_js: - if: ${{ github.actor.login != 'cfug-dev' && - github.repository == 'cfug/flutter.cn' }} + if: | + github.actor.login != 'cfug-dev' && + github.repository == 'cfug/flutter.cn' runs-on: ubuntu-latest steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - - uses: actions/setup-node@670825a89dc0abd596e7a3abd0f5e3f6e5faf37c + - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e with: node-version: ${{ env.NODE_VERSION }} - name: Build JS diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml new file mode 100644 index 0000000000..481158e315 --- /dev/null +++ b/.github/workflows/dart.yml @@ -0,0 +1,72 @@ +name: Dart code + +on: + push: + branches: + - main + paths: + - '**/*.dart' + - '**/pubspec.yaml' + - '**/pubspec.lock' + - '**/analysis_options.yaml' + - 'examples/**' + - 'packages/**' + - 'tool/dash_site/**' + - '.github/workflows/dart.yml' + pull_request: + branches: + - main + paths: + - '**/*.dart' + - '**/pubspec.yaml' + - '**/pubspec.lock' + - '**/analysis_options.yaml' + - 'examples/**' + - 'packages/**' + - 'tool/dash_site/**' + - '.github/workflows/dart.yml' + # schedule: + # - cron: '0 0 * * 0' + +permissions: read-all + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + +jobs: + test: + name: Analyze and test Dart (${{ matrix.name }}) + runs-on: ubuntu-latest + if: github.repository == 'cfug/flutter.cn' + timeout-minutes: 30 + strategy: + fail-fast: false + matrix: + include: + - name: "Beta channel" + branch: beta + experimental: false + - name: "Stable channel" + branch: stable + experimental: true + continue-on-error: ${{ matrix.experimental }} + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd + - uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 + with: + channel: ${{ matrix.branch }} + - name: Fetch Dart dependencies + run: dart pub get + continue-on-error: ${{ matrix.experimental }} +# Disabled for now due to non-language versioned formatting changes. +# TODO(parlough): Revisit this once standardized on 3.13 beta or newer. +# - name: Check Dart code formatting +# run: dart run dash_site format-dart --check +# continue-on-error: ${{ matrix.experimental }} + - name: Analyze Dart code + run: dart run dash_site analyze-dart + continue-on-error: ${{ matrix.experimental }} + - name: Run Dart tests + run: dart run dash_site test-dart + continue-on-error: ${{ matrix.experimental }} diff --git a/.github/workflows/build.yml b/.github/workflows/docs.yml similarity index 57% rename from .github/workflows/build.yml rename to .github/workflows/docs.yml index d09a4d71df..35425bd763 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/docs.yml @@ -1,54 +1,49 @@ -name: build +name: Docs site on: push: branches: - main + paths: + - 'sites/docs/**' + - 'examples/**' + - 'packages/excerpter/**' + - 'firebase.json' + - 'tool/dash_site/**' + - 'tool/config/linkcheck-skip-list.txt' + - 'pubspec.yaml' + - 'pubspec.lock' + - 'analysis_options.yaml' + - '.github/workflows/docs.yml' pull_request: branches: - main + paths: + - 'sites/docs/**' + - 'examples/**' + - 'packages/excerpter/**' + - 'firebase.json' + - 'tool/dash_site/**' + - 'tool/config/linkcheck-skip-list.txt' + - 'pubspec.yaml' + - 'pubspec.lock' + - 'analysis_options.yaml' + - '.github/workflows/docs.yml' + # schedule: + # - cron: '0 0 * * 0' -# Declare default permissions as read only. permissions: read-all -jobs: - test: - name: Analyze and test code examples - runs-on: ubuntu-latest - if: github.repository == 'cfug/flutter.cn' - strategy: - fail-fast: false - matrix: - include: - - name: "Beta channel" - branch: beta - experimental: false - - name: "Stable channel" - branch: stable - experimental: true - continue-on-error: ${{ matrix.experimental }} - steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - - uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 - with: - channel: ${{ matrix.branch }} - - name: Fetch Dart dependencies - run: dart pub get - continue-on-error: ${{ matrix.experimental }} - - name: Check Dart code formatting - run: dart run dash_site format-dart --check - continue-on-error: ${{ matrix.experimental }} - - name: Analyze Dart code - run: dart run dash_site analyze-dart - continue-on-error: ${{ matrix.experimental }} - - name: Run Dart tests - run: dart run dash_site test-dart - continue-on-error: ${{ matrix.experimental }} +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} +jobs: excerpts: - name: Check if code excerpts are up to date + name: Check code excerpts runs-on: ubuntu-latest if: github.repository == 'cfug/flutter.cn' + timeout-minutes: 20 steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - uses: dart-lang/setup-dart@65eb853c7ba17dde3be364c3d2858773e7144260 @@ -57,14 +52,13 @@ jobs: - name: Fetch Dart dependencies run: dart pub get - name: Check if excerpts are up to date - run: dart run dash_site refresh-excerpts --fail-on-update --dry-run - continue-on-error: ${{ matrix.experimental }} + run: dart run dash_site --site=docs refresh-excerpts --fail-on-update --dry-run linkcheck: - name: Build site and check links + name: Build and check links runs-on: ubuntu-latest - timeout-minutes: 30 if: github.repository == 'cfug/flutter.cn' + timeout-minutes: 30 steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - uses: dart-lang/setup-dart@65eb853c7ba17dde3be364c3d2858773e7144260 @@ -73,24 +67,25 @@ jobs: - name: Fetch Dart dependencies run: dart pub get - name: Install firebase-tools - run: curl -sL https://firebase.tools/ | sed s/latest/v15.2.1/ | bash + run: curl -sL https://firebase.tools | bash - name: Build site - run: dart run dash_site build - - uses: actions/setup-node@670825a89dc0abd596e7a3abd0f5e3f6e5faf37c + run: dart run dash_site --site=docs build + - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e with: node-version: 24 - name: Translated (docs.flutter.cn) run: bash tool/translator/build.sh shell: bash - name: Check for broken Markdown link references - run: dart run dash_site check-link-references + run: dart run dash_site --site=docs check-link-references - name: Check for broken internal links - run: dart run dash_site check-links + run: dart run dash_site --site=docs check-links firebase-validate: name: Validate Firebase configuration runs-on: ubuntu-latest if: github.repository == 'cfug/flutter.cn' + timeout-minutes: 10 steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - uses: dart-lang/setup-dart@65eb853c7ba17dde3be364c3d2858773e7144260 @@ -99,11 +94,11 @@ jobs: - name: Fetch Dart dependencies run: dart pub get - name: Validate the firebase.json file - run: dart run dash_site verify-firebase-json + run: dart run dash_site --site=docs verify-firebase-json deploy: name: Deploy to production - needs: [test, excerpts, linkcheck, firebase-validate] + needs: [excerpts, linkcheck, firebase-validate] runs-on: ubuntu-latest if: | github.event_name == 'push' && @@ -120,8 +115,8 @@ jobs: - name: Fetch Dart dependencies run: dart pub get - name: Build site - run: dart run dash_site build --release - - uses: actions/setup-node@670825a89dc0abd596e7a3abd0f5e3f6e5faf37c + run: dart run dash_site --site=docs build --release + - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e with: node-version: 24 - name: Translated (docs.flutter.cn) diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml index 9a1f4c658b..7e4d67f0a4 100644 --- a/.github/workflows/stage.yml +++ b/.github/workflows/stage.yml @@ -15,7 +15,8 @@ jobs: checks: write pull-requests: write runs-on: ubuntu-latest - if: ${{ github.event.pull_request.head.repo.full_name == 'cfug/flutter.cn' }} + if: | + github.event.pull_request.head.repo.full_name == 'cfug/flutter.cn' steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd with: @@ -27,17 +28,17 @@ jobs: - name: Fetch Dart dependencies run: dart pub get - name: Build site - run: dart run dash_site build --release - - uses: actions/setup-node@670825a89dc0abd596e7a3abd0f5e3f6e5faf37c + run: dart run dash_site --site=docs build --release + - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e with: node-version: 24 - name: Translated (docs.flutter.cn) run: bash tool/translator/build.sh shell: bash - name: Stage - if: ${{ + if: | github.repository == 'cfug/flutter.cn' && - github.event.pull_request.user.login != 'dependabot[bot]' }} + github.event.pull_request.user.login != 'dependabot[bot]' uses: cfug/doc-site-preview-in-pr@main with: repoToken: '${{ secrets.GITHUB_TOKEN }}' diff --git a/cloud_build/firebase-ghcli/Dockerfile b/cloud_build/firebase-ghcli/Dockerfile index cc32168a1f..4f4cb8fb7a 100644 --- a/cloud_build/firebase-ghcli/Dockerfile +++ b/cloud_build/firebase-ghcli/Dockerfile @@ -1,4 +1,4 @@ -FROM dart:3.12.0@sha256:3d1b19886b288807b42020ede8f1f9ea7753c91c17c27479ee9e7bf584289a34 +FROM dart:3.12.1@sha256:6440c7d5fd8713b0706d0b6190eb2be7ad896101e225fc9d7657034b23ab0592 RUN apt-get update && apt-get install -y --no-install-recommends curl gpg ca-certificates \ # Install the GitHub CLI. \ diff --git a/cloud_build/firebase-ghcli/README.md b/cloud_build/firebase-ghcli/README.md index 9978b3ee1c..1f5593d4c0 100644 --- a/cloud_build/firebase-ghcli/README.md +++ b/cloud_build/firebase-ghcli/README.md @@ -18,3 +18,64 @@ When the `Dockerfile` file or `cloudbuild.yaml` template in this directory are changed in a PR, the cloud build template is triggered. Then a new version of the image is deployed as the latest version in Container Registry under the `flutter-dev-230821` project on Google Cloud. + +## Updating the Dart SDK version + +The base Dart image in `Dockerfile` is pinned by both tag and digest: + +```dockerfile +FROM dart:@ +``` + +When updating the Dart SDK version, update both the tag and the digest. +Use the multi-platform image index digest for the tag. +Don't use a platform-specific digest, such as +the digest for only `linux/amd64` or only `linux/arm64/v8`. + +### Using `crane` + +If you have the `crane` CLI from [`google/go-containerregistry`][], run: + +```bash +crane digest docker.io/library/dart: +``` + +For example, the following command retrieves the digest for +the `3.12.1` stable release of the SDK: + +```bash +crane digest docker.io/library/dart:3.12.1 +``` + +Copy the returned `sha256:...` digest. +Then update the `FROM` line in the `Dockerfile` with +the new tag (version) and copied index digest. + +```dockerfile +FROM dart:3.12.1@ +``` + +Don't pass `--platform` when getting the digest for the `Dockerfile`. +Passing a platform returns the digest for that platform's child manifest +instead of the architecture-agnostic index digest. + +[`google/go-containerregistry`]: https://github.com/google/go-containerregistry + +### Using Docker Hub + +If you don't have `crane`, use the +[Dart image tags page on Docker Hub](https://hub.docker.com/_/dart/tags): + +1. Search for the new Dart SDK version tag, such as `3.12.1`. +1. Open the tag detail page by selecting the tag name or digest. +1. Ensure the opened tag page has a `MULTI-PLATFORM` badge. +1. Copy the specified `INDEX DIGEST` value. + It should start with `sha256:`. +1. Update the `FROM` line in the `Dockerfile` with + the new tag (SDK version) and index digest. + +Screenshot of the index digest on Docker Hub, outlined with a red box. diff --git a/examples/_animation/basic_hero_animation/pubspec.yaml b/examples/_animation/basic_hero_animation/pubspec.yaml index c7c6f716d9..37eaf99cb6 100644 --- a/examples/_animation/basic_hero_animation/pubspec.yaml +++ b/examples/_animation/basic_hero_animation/pubspec.yaml @@ -5,7 +5,7 @@ description: >- resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/_animation/basic_radial_hero_animation/pubspec.yaml b/examples/_animation/basic_radial_hero_animation/pubspec.yaml index f7734ebdc0..4cf400e699 100644 --- a/examples/_animation/basic_radial_hero_animation/pubspec.yaml +++ b/examples/_animation/basic_radial_hero_animation/pubspec.yaml @@ -6,7 +6,7 @@ description: >- resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/_animation/basic_staggered_animation/pubspec.yaml b/examples/_animation/basic_staggered_animation/pubspec.yaml index 21d9d66382..b55678d64c 100644 --- a/examples/_animation/basic_staggered_animation/pubspec.yaml +++ b/examples/_animation/basic_staggered_animation/pubspec.yaml @@ -4,7 +4,7 @@ description: An introductory example to staggered animations. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/_animation/hero_animation/pubspec.yaml b/examples/_animation/hero_animation/pubspec.yaml index 07a1215608..581397ad5b 100644 --- a/examples/_animation/hero_animation/pubspec.yaml +++ b/examples/_animation/hero_animation/pubspec.yaml @@ -4,7 +4,7 @@ description: Shows how to create a simple Hero transition. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/_animation/radial_hero_animation/pubspec.yaml b/examples/_animation/radial_hero_animation/pubspec.yaml index 4bc3d29712..794171b0c2 100644 --- a/examples/_animation/radial_hero_animation/pubspec.yaml +++ b/examples/_animation/radial_hero_animation/pubspec.yaml @@ -6,7 +6,7 @@ description: >- resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/_animation/radial_hero_animation_animate_rectclip/pubspec.yaml b/examples/_animation/radial_hero_animation_animate_rectclip/pubspec.yaml index c23d465690..682fe77be8 100644 --- a/examples/_animation/radial_hero_animation_animate_rectclip/pubspec.yaml +++ b/examples/_animation/radial_hero_animation_animate_rectclip/pubspec.yaml @@ -6,7 +6,7 @@ description: >- resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/_animation/staggered_pic_selection/pubspec.yaml b/examples/_animation/staggered_pic_selection/pubspec.yaml index 2b64c84e2d..65923c0065 100644 --- a/examples/_animation/staggered_pic_selection/pubspec.yaml +++ b/examples/_animation/staggered_pic_selection/pubspec.yaml @@ -4,7 +4,7 @@ description: A more complex staggered animation example. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/accessibility/pubspec.yaml b/examples/accessibility/pubspec.yaml index c47638aebf..d25f43550f 100644 --- a/examples/accessibility/pubspec.yaml +++ b/examples/accessibility/pubspec.yaml @@ -5,7 +5,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/animation/animate0/pubspec.yaml b/examples/animation/animate0/pubspec.yaml index 606c5f67bc..6e2d855441 100644 --- a/examples/animation/animate0/pubspec.yaml +++ b/examples/animation/animate0/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/animation/animate1/pubspec.yaml b/examples/animation/animate1/pubspec.yaml index 784949a177..f96b6b7d86 100644 --- a/examples/animation/animate1/pubspec.yaml +++ b/examples/animation/animate1/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/animation/animate2/pubspec.yaml b/examples/animation/animate2/pubspec.yaml index b306b52496..780bbcbd1d 100644 --- a/examples/animation/animate2/pubspec.yaml +++ b/examples/animation/animate2/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/animation/animate3/pubspec.yaml b/examples/animation/animate3/pubspec.yaml index 9c40576590..a82798f6aa 100644 --- a/examples/animation/animate3/pubspec.yaml +++ b/examples/animation/animate3/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/animation/animate4/pubspec.yaml b/examples/animation/animate4/pubspec.yaml index d2dc77d8a4..5e448323a0 100644 --- a/examples/animation/animate4/pubspec.yaml +++ b/examples/animation/animate4/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/animation/animate5/pubspec.yaml b/examples/animation/animate5/pubspec.yaml index 483d6f720c..434d322387 100644 --- a/examples/animation/animate5/pubspec.yaml +++ b/examples/animation/animate5/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/app-architecture/command/pubspec.yaml b/examples/app-architecture/command/pubspec.yaml index e0ff955350..209516afc1 100644 --- a/examples/app-architecture/command/pubspec.yaml +++ b/examples/app-architecture/command/pubspec.yaml @@ -3,7 +3,7 @@ description: Example for command cookbook recipe resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/app-architecture/offline_first/pubspec.yaml b/examples/app-architecture/offline_first/pubspec.yaml index 5b93387f3b..8909eab412 100644 --- a/examples/app-architecture/offline_first/pubspec.yaml +++ b/examples/app-architecture/offline_first/pubspec.yaml @@ -3,7 +3,7 @@ description: Example for offline_first cookbook recipe resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/app-architecture/optimistic_state/pubspec.yaml b/examples/app-architecture/optimistic_state/pubspec.yaml index 576b5eb80e..aa63c731eb 100644 --- a/examples/app-architecture/optimistic_state/pubspec.yaml +++ b/examples/app-architecture/optimistic_state/pubspec.yaml @@ -3,7 +3,7 @@ description: Example for optimistic_state cookbook recipe resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/app-architecture/result/pubspec.yaml b/examples/app-architecture/result/pubspec.yaml index 22490b9a90..7c06ec4f95 100644 --- a/examples/app-architecture/result/pubspec.yaml +++ b/examples/app-architecture/result/pubspec.yaml @@ -3,7 +3,7 @@ description: Example for result cookbook recipe resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/app-architecture/todo_data_service/pubspec.yaml b/examples/app-architecture/todo_data_service/pubspec.yaml index 86d5d239ca..d0b59ed048 100644 --- a/examples/app-architecture/todo_data_service/pubspec.yaml +++ b/examples/app-architecture/todo_data_service/pubspec.yaml @@ -3,7 +3,7 @@ description: Example for key_value_data cookbook recipe resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/animation/animated_container/pubspec.yaml b/examples/cookbook/animation/animated_container/pubspec.yaml index 7e86ba1357..77f087be9f 100644 --- a/examples/cookbook/animation/animated_container/pubspec.yaml +++ b/examples/cookbook/animation/animated_container/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for cookbook. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/animation/opacity_animation/pubspec.yaml b/examples/cookbook/animation/opacity_animation/pubspec.yaml index d265804e55..d2c7889734 100644 --- a/examples/cookbook/animation/opacity_animation/pubspec.yaml +++ b/examples/cookbook/animation/opacity_animation/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for cookbook. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/animation/page_route_animation/pubspec.yaml b/examples/cookbook/animation/page_route_animation/pubspec.yaml index 532d9a75f7..10acc9fd5d 100644 --- a/examples/cookbook/animation/page_route_animation/pubspec.yaml +++ b/examples/cookbook/animation/page_route_animation/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for cookbook. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/animation/physics_simulation/pubspec.yaml b/examples/cookbook/animation/physics_simulation/pubspec.yaml index a6e728cdd8..d695c1f225 100644 --- a/examples/cookbook/animation/physics_simulation/pubspec.yaml +++ b/examples/cookbook/animation/physics_simulation/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for cookbook. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/design/cupertino_sheets/pubspec.yaml b/examples/cookbook/design/cupertino_sheets/pubspec.yaml index 73ea2fa241..b46d5018c7 100644 --- a/examples/cookbook/design/cupertino_sheets/pubspec.yaml +++ b/examples/cookbook/design/cupertino_sheets/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for cupertino sheets cookbook recipe. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/design/drawer/pubspec.yaml b/examples/cookbook/design/drawer/pubspec.yaml index 6bd1dc6d21..3293ec7d22 100644 --- a/examples/cookbook/design/drawer/pubspec.yaml +++ b/examples/cookbook/design/drawer/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for drawer cookbook recipe. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/design/fonts/pubspec.yaml b/examples/cookbook/design/fonts/pubspec.yaml index 6685d34613..068730b03b 100644 --- a/examples/cookbook/design/fonts/pubspec.yaml +++ b/examples/cookbook/design/fonts/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/design/orientation/pubspec.yaml b/examples/cookbook/design/orientation/pubspec.yaml index e79dfa7477..67342fd2db 100644 --- a/examples/cookbook/design/orientation/pubspec.yaml +++ b/examples/cookbook/design/orientation/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for orientation cookbook recipe. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/design/package_fonts/pubspec.yaml b/examples/cookbook/design/package_fonts/pubspec.yaml index c3949e7ff5..8202116f4c 100644 --- a/examples/cookbook/design/package_fonts/pubspec.yaml +++ b/examples/cookbook/design/package_fonts/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/design/snackbars/pubspec.yaml b/examples/cookbook/design/snackbars/pubspec.yaml index ecdbd12849..31faf29578 100644 --- a/examples/cookbook/design/snackbars/pubspec.yaml +++ b/examples/cookbook/design/snackbars/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for snackbars cookbook recipe. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/design/tabs/pubspec.yaml b/examples/cookbook/design/tabs/pubspec.yaml index 8872dda7f7..e4c7e577ec 100644 --- a/examples/cookbook/design/tabs/pubspec.yaml +++ b/examples/cookbook/design/tabs/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for tabs cookbook recipe. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/design/themes/pubspec.yaml b/examples/cookbook/design/themes/pubspec.yaml index 05b9397ddd..eac302e157 100644 --- a/examples/cookbook/design/themes/pubspec.yaml +++ b/examples/cookbook/design/themes/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for themes cookbook recipe. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/effects/download_button/pubspec.yaml b/examples/cookbook/effects/download_button/pubspec.yaml index 6ac260ae42..ad9321b891 100644 --- a/examples/cookbook/effects/download_button/pubspec.yaml +++ b/examples/cookbook/effects/download_button/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/effects/drag_a_widget/pubspec.yaml b/examples/cookbook/effects/drag_a_widget/pubspec.yaml index 139a72b759..dcd070e13a 100644 --- a/examples/cookbook/effects/drag_a_widget/pubspec.yaml +++ b/examples/cookbook/effects/drag_a_widget/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/effects/expandable_fab/pubspec.yaml b/examples/cookbook/effects/expandable_fab/pubspec.yaml index c107a25475..331910a734 100644 --- a/examples/cookbook/effects/expandable_fab/pubspec.yaml +++ b/examples/cookbook/effects/expandable_fab/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/effects/nested_nav/pubspec.yaml b/examples/cookbook/effects/nested_nav/pubspec.yaml index 53d9054141..d1ab268432 100644 --- a/examples/cookbook/effects/nested_nav/pubspec.yaml +++ b/examples/cookbook/effects/nested_nav/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/effects/parallax_scrolling/pubspec.yaml b/examples/cookbook/effects/parallax_scrolling/pubspec.yaml index cf8a6a9d65..6dfc2b6c8d 100644 --- a/examples/cookbook/effects/parallax_scrolling/pubspec.yaml +++ b/examples/cookbook/effects/parallax_scrolling/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/effects/shimmer_loading/pubspec.yaml b/examples/cookbook/effects/shimmer_loading/pubspec.yaml index 673f281952..54b8125de7 100644 --- a/examples/cookbook/effects/shimmer_loading/pubspec.yaml +++ b/examples/cookbook/effects/shimmer_loading/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/effects/staggered_menu_animation/pubspec.yaml b/examples/cookbook/effects/staggered_menu_animation/pubspec.yaml index 5cfee6b71e..988bf8c0a7 100644 --- a/examples/cookbook/effects/staggered_menu_animation/pubspec.yaml +++ b/examples/cookbook/effects/staggered_menu_animation/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/forms/focus/pubspec.yaml b/examples/cookbook/forms/focus/pubspec.yaml index e5ceceded7..ad24872d9a 100644 --- a/examples/cookbook/forms/focus/pubspec.yaml +++ b/examples/cookbook/forms/focus/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for focus cookbook recipe. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/forms/retrieve_input/pubspec.yaml b/examples/cookbook/forms/retrieve_input/pubspec.yaml index 9dde2284c6..3b25e77701 100644 --- a/examples/cookbook/forms/retrieve_input/pubspec.yaml +++ b/examples/cookbook/forms/retrieve_input/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for retrieve_input cookbook recipe. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/forms/text_field_changes/pubspec.yaml b/examples/cookbook/forms/text_field_changes/pubspec.yaml index 9566630d5e..87d175aa8f 100644 --- a/examples/cookbook/forms/text_field_changes/pubspec.yaml +++ b/examples/cookbook/forms/text_field_changes/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for text_field_changes resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/forms/text_input/pubspec.yaml b/examples/cookbook/forms/text_input/pubspec.yaml index eb79f031f7..37b551ff3e 100644 --- a/examples/cookbook/forms/text_input/pubspec.yaml +++ b/examples/cookbook/forms/text_input/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/forms/validation/pubspec.yaml b/examples/cookbook/forms/validation/pubspec.yaml index b92ec8943b..ae70b00d74 100644 --- a/examples/cookbook/forms/validation/pubspec.yaml +++ b/examples/cookbook/forms/validation/pubspec.yaml @@ -3,7 +3,7 @@ description: Use Form widget to perform form validation. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/games/achievements_leaderboards/pubspec.yaml b/examples/cookbook/games/achievements_leaderboards/pubspec.yaml index cdc85a2052..40a90be279 100644 --- a/examples/cookbook/games/achievements_leaderboards/pubspec.yaml +++ b/examples/cookbook/games/achievements_leaderboards/pubspec.yaml @@ -3,7 +3,7 @@ description: Games services resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/games/firestore_multiplayer/pubspec.yaml b/examples/cookbook/games/firestore_multiplayer/pubspec.yaml index b3e8e0fb52..2cb698d3e0 100644 --- a/examples/cookbook/games/firestore_multiplayer/pubspec.yaml +++ b/examples/cookbook/games/firestore_multiplayer/pubspec.yaml @@ -3,7 +3,7 @@ description: Firestore multiplayer resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/gestures/dismissible/pubspec.yaml b/examples/cookbook/gestures/dismissible/pubspec.yaml index 2cee70eb0b..4c6d35a181 100644 --- a/examples/cookbook/gestures/dismissible/pubspec.yaml +++ b/examples/cookbook/gestures/dismissible/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for dismissible cookbook recipe. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/gestures/handling_taps/pubspec.yaml b/examples/cookbook/gestures/handling_taps/pubspec.yaml index d3e4c32ecf..69ec52f97e 100644 --- a/examples/cookbook/gestures/handling_taps/pubspec.yaml +++ b/examples/cookbook/gestures/handling_taps/pubspec.yaml @@ -3,7 +3,7 @@ description: Example on handling_taps cookbook recipe. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/gestures/ripples/pubspec.yaml b/examples/cookbook/gestures/ripples/pubspec.yaml index 0e996979d6..87c4acfde2 100644 --- a/examples/cookbook/gestures/ripples/pubspec.yaml +++ b/examples/cookbook/gestures/ripples/pubspec.yaml @@ -3,7 +3,7 @@ description: Example for ripples cookbook recipe resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/images/cached_images/pubspec.yaml b/examples/cookbook/images/cached_images/pubspec.yaml index 8f26a95ee8..af4b75b500 100644 --- a/examples/cookbook/images/cached_images/pubspec.yaml +++ b/examples/cookbook/images/cached_images/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/images/fading_in_images/pubspec.yaml b/examples/cookbook/images/fading_in_images/pubspec.yaml index 9c30c8c2e9..f59bdbc639 100644 --- a/examples/cookbook/images/fading_in_images/pubspec.yaml +++ b/examples/cookbook/images/fading_in_images/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/images/network_image/pubspec.yaml b/examples/cookbook/images/network_image/pubspec.yaml index 13346df44b..3dae60901f 100644 --- a/examples/cookbook/images/network_image/pubspec.yaml +++ b/examples/cookbook/images/network_image/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/lists/basic_list/pubspec.yaml b/examples/cookbook/lists/basic_list/pubspec.yaml index 9e9666adcc..3ab340f2d3 100644 --- a/examples/cookbook/lists/basic_list/pubspec.yaml +++ b/examples/cookbook/lists/basic_list/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/lists/floating_app_bar/pubspec.yaml b/examples/cookbook/lists/floating_app_bar/pubspec.yaml index da693b8611..50053e2f88 100644 --- a/examples/cookbook/lists/floating_app_bar/pubspec.yaml +++ b/examples/cookbook/lists/floating_app_bar/pubspec.yaml @@ -3,7 +3,7 @@ description: Example for floating_app_bar cookbook recipe resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/lists/grid_lists/pubspec.yaml b/examples/cookbook/lists/grid_lists/pubspec.yaml index dc47eb46b0..82715ec66b 100644 --- a/examples/cookbook/lists/grid_lists/pubspec.yaml +++ b/examples/cookbook/lists/grid_lists/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/lists/horizontal_list/pubspec.yaml b/examples/cookbook/lists/horizontal_list/pubspec.yaml index e9518893cd..bec6ac4be3 100644 --- a/examples/cookbook/lists/horizontal_list/pubspec.yaml +++ b/examples/cookbook/lists/horizontal_list/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/lists/long_lists/pubspec.yaml b/examples/cookbook/lists/long_lists/pubspec.yaml index 75b7dfb829..8cafeee606 100644 --- a/examples/cookbook/lists/long_lists/pubspec.yaml +++ b/examples/cookbook/lists/long_lists/pubspec.yaml @@ -3,7 +3,7 @@ description: Example for long_lists cookbook recipe resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/lists/mixed_list/pubspec.yaml b/examples/cookbook/lists/mixed_list/pubspec.yaml index 67ffd18e1b..6a62502ba1 100644 --- a/examples/cookbook/lists/mixed_list/pubspec.yaml +++ b/examples/cookbook/lists/mixed_list/pubspec.yaml @@ -3,7 +3,7 @@ description: Example for mixed_lists cookbook recipe resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/lists/spaced_items/pubspec.yaml b/examples/cookbook/lists/spaced_items/pubspec.yaml index 4086f0dc97..981c2c71ce 100644 --- a/examples/cookbook/lists/spaced_items/pubspec.yaml +++ b/examples/cookbook/lists/spaced_items/pubspec.yaml @@ -3,7 +3,7 @@ description: Example for spaced_items cookbook recipe resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/maintenance/error_reporting/pubspec.yaml b/examples/cookbook/maintenance/error_reporting/pubspec.yaml index bc1e80665b..aa60974dcd 100644 --- a/examples/cookbook/maintenance/error_reporting/pubspec.yaml +++ b/examples/cookbook/maintenance/error_reporting/pubspec.yaml @@ -4,12 +4,12 @@ publish_to: none resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: sdk: flutter - sentry_flutter: ^9.20.0 + sentry_flutter: ^9.21.0 dev_dependencies: flutter_test: diff --git a/examples/cookbook/navigation/hero_animations/pubspec.yaml b/examples/cookbook/navigation/hero_animations/pubspec.yaml index ad0c36178e..14eaa943ff 100644 --- a/examples/cookbook/navigation/hero_animations/pubspec.yaml +++ b/examples/cookbook/navigation/hero_animations/pubspec.yaml @@ -3,7 +3,7 @@ description: Hero animations resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/navigation/named_routes/pubspec.yaml b/examples/cookbook/navigation/named_routes/pubspec.yaml index 1aa58c3223..1305cc0033 100644 --- a/examples/cookbook/navigation/named_routes/pubspec.yaml +++ b/examples/cookbook/navigation/named_routes/pubspec.yaml @@ -3,7 +3,7 @@ description: Named route example snippets. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/navigation/navigate_with_arguments/pubspec.yaml b/examples/cookbook/navigation/navigate_with_arguments/pubspec.yaml index ef19dcc7b8..e95f5cf26b 100644 --- a/examples/cookbook/navigation/navigate_with_arguments/pubspec.yaml +++ b/examples/cookbook/navigation/navigate_with_arguments/pubspec.yaml @@ -3,7 +3,7 @@ description: Use Form widget to perform form validation. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/navigation/navigation_basics/pubspec.yaml b/examples/cookbook/navigation/navigation_basics/pubspec.yaml index 3e61b15e6f..9f21d070ae 100644 --- a/examples/cookbook/navigation/navigation_basics/pubspec.yaml +++ b/examples/cookbook/navigation/navigation_basics/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/navigation/passing_data/pubspec.yaml b/examples/cookbook/navigation/passing_data/pubspec.yaml index 697a87ed8a..c59a1d2f2a 100644 --- a/examples/cookbook/navigation/passing_data/pubspec.yaml +++ b/examples/cookbook/navigation/passing_data/pubspec.yaml @@ -3,7 +3,7 @@ description: Passing data resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/navigation/returning_data/pubspec.yaml b/examples/cookbook/navigation/returning_data/pubspec.yaml index c00e4df488..4ce691d432 100644 --- a/examples/cookbook/navigation/returning_data/pubspec.yaml +++ b/examples/cookbook/navigation/returning_data/pubspec.yaml @@ -3,7 +3,7 @@ description: Returning data resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/networking/authenticated_requests/pubspec.yaml b/examples/cookbook/networking/authenticated_requests/pubspec.yaml index ce188788cb..b8ab5f12df 100644 --- a/examples/cookbook/networking/authenticated_requests/pubspec.yaml +++ b/examples/cookbook/networking/authenticated_requests/pubspec.yaml @@ -3,7 +3,7 @@ description: Authenticated HTTP request example snippets. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/networking/background_parsing/pubspec.yaml b/examples/cookbook/networking/background_parsing/pubspec.yaml index a85058b286..8051c29717 100644 --- a/examples/cookbook/networking/background_parsing/pubspec.yaml +++ b/examples/cookbook/networking/background_parsing/pubspec.yaml @@ -3,7 +3,7 @@ description: Background parsing resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/networking/delete_data/pubspec.yaml b/examples/cookbook/networking/delete_data/pubspec.yaml index 3620c6fb75..8f75336c1f 100644 --- a/examples/cookbook/networking/delete_data/pubspec.yaml +++ b/examples/cookbook/networking/delete_data/pubspec.yaml @@ -3,7 +3,7 @@ description: Delete Data resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/networking/fetch_data/pubspec.yaml b/examples/cookbook/networking/fetch_data/pubspec.yaml index 3f0dab6f68..0fc3c08309 100644 --- a/examples/cookbook/networking/fetch_data/pubspec.yaml +++ b/examples/cookbook/networking/fetch_data/pubspec.yaml @@ -3,7 +3,7 @@ description: Fetch Data resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/networking/send_data/pubspec.yaml b/examples/cookbook/networking/send_data/pubspec.yaml index e53eae437a..ff827c9d39 100644 --- a/examples/cookbook/networking/send_data/pubspec.yaml +++ b/examples/cookbook/networking/send_data/pubspec.yaml @@ -3,7 +3,7 @@ description: Send data resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/networking/update_data/pubspec.yaml b/examples/cookbook/networking/update_data/pubspec.yaml index 121ca36058..41f4fd648f 100644 --- a/examples/cookbook/networking/update_data/pubspec.yaml +++ b/examples/cookbook/networking/update_data/pubspec.yaml @@ -3,7 +3,7 @@ description: Update Data resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/networking/web_sockets/pubspec.yaml b/examples/cookbook/networking/web_sockets/pubspec.yaml index 0d6fbcff57..1cd656c28d 100644 --- a/examples/cookbook/networking/web_sockets/pubspec.yaml +++ b/examples/cookbook/networking/web_sockets/pubspec.yaml @@ -3,7 +3,7 @@ description: Web Sockets resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/persistence/key_value/pubspec.yaml b/examples/cookbook/persistence/key_value/pubspec.yaml index 1b00dd5191..7b753ca2ea 100644 --- a/examples/cookbook/persistence/key_value/pubspec.yaml +++ b/examples/cookbook/persistence/key_value/pubspec.yaml @@ -6,7 +6,7 @@ description: >- resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/persistence/reading_writing_files/pubspec.yaml b/examples/cookbook/persistence/reading_writing_files/pubspec.yaml index cce71675ec..84a3feb410 100644 --- a/examples/cookbook/persistence/reading_writing_files/pubspec.yaml +++ b/examples/cookbook/persistence/reading_writing_files/pubspec.yaml @@ -3,7 +3,7 @@ description: Reading and Writing Files resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/persistence/sqlite/pubspec.yaml b/examples/cookbook/persistence/sqlite/pubspec.yaml index e7398cea5c..47d7c716e2 100644 --- a/examples/cookbook/persistence/sqlite/pubspec.yaml +++ b/examples/cookbook/persistence/sqlite/pubspec.yaml @@ -3,7 +3,7 @@ description: Example of using sqflite plugin to access SQLite database. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/plugins/google_mobile_ads/pubspec.yaml b/examples/cookbook/plugins/google_mobile_ads/pubspec.yaml index 6db3d9051c..7ebed256f7 100644 --- a/examples/cookbook/plugins/google_mobile_ads/pubspec.yaml +++ b/examples/cookbook/plugins/google_mobile_ads/pubspec.yaml @@ -3,7 +3,7 @@ description: Google mobile ads resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/plugins/picture_using_camera/pubspec.yaml b/examples/cookbook/plugins/picture_using_camera/pubspec.yaml index e519adfcde..741a4f50b9 100644 --- a/examples/cookbook/plugins/picture_using_camera/pubspec.yaml +++ b/examples/cookbook/plugins/picture_using_camera/pubspec.yaml @@ -3,7 +3,7 @@ description: A new Flutter project. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/plugins/play_video/pubspec.yaml b/examples/cookbook/plugins/play_video/pubspec.yaml index ade76e8df4..a9a974bbd1 100644 --- a/examples/cookbook/plugins/play_video/pubspec.yaml +++ b/examples/cookbook/plugins/play_video/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/testing/integration/introduction/pubspec.yaml b/examples/cookbook/testing/integration/introduction/pubspec.yaml index c9e9e5552e..3e3efd9caf 100644 --- a/examples/cookbook/testing/integration/introduction/pubspec.yaml +++ b/examples/cookbook/testing/integration/introduction/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/testing/integration/profiling/pubspec.yaml b/examples/cookbook/testing/integration/profiling/pubspec.yaml index f9171d89a0..7e7ad0317d 100644 --- a/examples/cookbook/testing/integration/profiling/pubspec.yaml +++ b/examples/cookbook/testing/integration/profiling/pubspec.yaml @@ -3,7 +3,7 @@ description: Integration test profiling examples. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/testing/unit/counter_app/pubspec.yaml b/examples/cookbook/testing/unit/counter_app/pubspec.yaml index edd3ec855a..3cf4783d44 100644 --- a/examples/cookbook/testing/unit/counter_app/pubspec.yaml +++ b/examples/cookbook/testing/unit/counter_app/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/testing/unit/mocking/pubspec.yaml b/examples/cookbook/testing/unit/mocking/pubspec.yaml index 6081bdac1c..6d0b41df70 100644 --- a/examples/cookbook/testing/unit/mocking/pubspec.yaml +++ b/examples/cookbook/testing/unit/mocking/pubspec.yaml @@ -3,7 +3,7 @@ description: Use the Mockito package to mimic the behavior of services for testi resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/testing/widget/finders/pubspec.yaml b/examples/cookbook/testing/widget/finders/pubspec.yaml index e687327c0a..ac7036e8fc 100644 --- a/examples/cookbook/testing/widget/finders/pubspec.yaml +++ b/examples/cookbook/testing/widget/finders/pubspec.yaml @@ -3,7 +3,7 @@ description: A new Flutter project. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/testing/widget/introduction/pubspec.yaml b/examples/cookbook/testing/widget/introduction/pubspec.yaml index e5091fb3ae..f2e27a644b 100644 --- a/examples/cookbook/testing/widget/introduction/pubspec.yaml +++ b/examples/cookbook/testing/widget/introduction/pubspec.yaml @@ -3,7 +3,7 @@ description: Widget testing example snippets. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/testing/widget/orientation_tests/pubspec.yaml b/examples/cookbook/testing/widget/orientation_tests/pubspec.yaml index 6e0d01f487..1b24b901f9 100644 --- a/examples/cookbook/testing/widget/orientation_tests/pubspec.yaml +++ b/examples/cookbook/testing/widget/orientation_tests/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/testing/widget/scrolling/pubspec.yaml b/examples/cookbook/testing/widget/scrolling/pubspec.yaml index c5f706bbf0..c1091c6ba6 100644 --- a/examples/cookbook/testing/widget/scrolling/pubspec.yaml +++ b/examples/cookbook/testing/widget/scrolling/pubspec.yaml @@ -3,7 +3,7 @@ description: Scrollable widget testing. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/cookbook/testing/widget/tap_drag/pubspec.yaml b/examples/cookbook/testing/widget/tap_drag/pubspec.yaml index eba8d8f068..a83d8745e8 100644 --- a/examples/cookbook/testing/widget/tap_drag/pubspec.yaml +++ b/examples/cookbook/testing/widget/tap_drag/pubspec.yaml @@ -3,7 +3,7 @@ description: Tap drag widget testing examples. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/data-and-backend/json/pubspec.yaml b/examples/data-and-backend/json/pubspec.yaml index 1b150d7704..f82c66109c 100644 --- a/examples/data-and-backend/json/pubspec.yaml +++ b/examples/data-and-backend/json/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: json_annotation: ^4.12.0 diff --git a/examples/deployment/obfuscate/pubspec.yaml b/examples/deployment/obfuscate/pubspec.yaml index 24365047ac..4daeaacb80 100644 --- a/examples/deployment/obfuscate/pubspec.yaml +++ b/examples/deployment/obfuscate/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/fwe/birdle/pubspec.yaml b/examples/fwe/birdle/pubspec.yaml index d2bebbbc06..4bbf1f729f 100644 --- a/examples/fwe/birdle/pubspec.yaml +++ b/examples/fwe/birdle/pubspec.yaml @@ -5,7 +5,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/fwe/rolodex/pubspec.yaml b/examples/fwe/rolodex/pubspec.yaml index da4ea72c6d..52758250cc 100644 --- a/examples/fwe/rolodex/pubspec.yaml +++ b/examples/fwe/rolodex/pubspec.yaml @@ -5,7 +5,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/fwe/wikipedia_reader/pubspec.yaml b/examples/fwe/wikipedia_reader/pubspec.yaml index 30ee9cca22..c5544313e1 100644 --- a/examples/fwe/wikipedia_reader/pubspec.yaml +++ b/examples/fwe/wikipedia_reader/pubspec.yaml @@ -5,7 +5,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/get-started/flutter-for/android_devs/pubspec.yaml b/examples/get-started/flutter-for/android_devs/pubspec.yaml index e423f51600..b9e23d45f9 100644 --- a/examples/get-started/flutter-for/android_devs/pubspec.yaml +++ b/examples/get-started/flutter-for/android_devs/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/get-started/flutter-for/declarative/pubspec.yaml b/examples/get-started/flutter-for/declarative/pubspec.yaml index 5c58c1079b..a5b75aea02 100644 --- a/examples/get-started/flutter-for/declarative/pubspec.yaml +++ b/examples/get-started/flutter-for/declarative/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/get-started/flutter-for/ios_devs/pubspec.yaml b/examples/get-started/flutter-for/ios_devs/pubspec.yaml index 134e71d64e..85c36afd90 100644 --- a/examples/get-started/flutter-for/ios_devs/pubspec.yaml +++ b/examples/get-started/flutter-for/ios_devs/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/get-started/flutter-for/react_native_devs/my_widgets/pubspec.yaml b/examples/get-started/flutter-for/react_native_devs/my_widgets/pubspec.yaml index 8e22875a2f..91f0ffef3c 100644 --- a/examples/get-started/flutter-for/react_native_devs/my_widgets/pubspec.yaml +++ b/examples/get-started/flutter-for/react_native_devs/my_widgets/pubspec.yaml @@ -4,4 +4,4 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 diff --git a/examples/get-started/flutter-for/react_native_devs/pubspec.yaml b/examples/get-started/flutter-for/react_native_devs/pubspec.yaml index 5acae0562e..d7ae1fdee5 100644 --- a/examples/get-started/flutter-for/react_native_devs/pubspec.yaml +++ b/examples/get-started/flutter-for/react_native_devs/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 workspace: - my_widgets diff --git a/examples/get-started/flutter-for/web_devs/pubspec.yaml b/examples/get-started/flutter-for/web_devs/pubspec.yaml index 87e5ece55a..052dd13a07 100644 --- a/examples/get-started/flutter-for/web_devs/pubspec.yaml +++ b/examples/get-started/flutter-for/web_devs/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/get-started/flutter-for/xamarin_devs/pubspec.yaml b/examples/get-started/flutter-for/xamarin_devs/pubspec.yaml index 0b2cb0d6d4..90567e9298 100644 --- a/examples/get-started/flutter-for/xamarin_devs/pubspec.yaml +++ b/examples/get-started/flutter-for/xamarin_devs/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/googleapis/pubspec.yaml b/examples/googleapis/pubspec.yaml index 005e78bce4..04ded6ba71 100644 --- a/examples/googleapis/pubspec.yaml +++ b/examples/googleapis/pubspec.yaml @@ -3,7 +3,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: collection: any # Pull the version of package:collection from Flutter. diff --git a/examples/integration_test/pubspec.yaml b/examples/integration_test/pubspec.yaml index 055fa53b41..00a9d4ffa6 100644 --- a/examples/integration_test/pubspec.yaml +++ b/examples/integration_test/pubspec.yaml @@ -4,7 +4,7 @@ version: 0.0.1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/integration_test_migration/pubspec.yaml b/examples/integration_test_migration/pubspec.yaml index 4d02e377bd..49612fe908 100644 --- a/examples/integration_test_migration/pubspec.yaml +++ b/examples/integration_test_migration/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/internationalization/add_language/pubspec.yaml b/examples/internationalization/add_language/pubspec.yaml index f323ca8021..360ad17610 100644 --- a/examples/internationalization/add_language/pubspec.yaml +++ b/examples/internationalization/add_language/pubspec.yaml @@ -3,7 +3,7 @@ description: An i18n app example that adds a supported language resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/internationalization/gen_l10n_example/pubspec.yaml b/examples/internationalization/gen_l10n_example/pubspec.yaml index af3ec816f9..7eca4447e1 100644 --- a/examples/internationalization/gen_l10n_example/pubspec.yaml +++ b/examples/internationalization/gen_l10n_example/pubspec.yaml @@ -5,7 +5,7 @@ description: >- resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 # #docregion flutter-localizations dependencies: diff --git a/examples/internationalization/intl_example/pubspec.yaml b/examples/internationalization/intl_example/pubspec.yaml index d4d93df67b..2b29662958 100644 --- a/examples/internationalization/intl_example/pubspec.yaml +++ b/examples/internationalization/intl_example/pubspec.yaml @@ -3,7 +3,7 @@ description: Example of a Flutter app using the intl library services. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/internationalization/minimal/pubspec.yaml b/examples/internationalization/minimal/pubspec.yaml index 92814c098a..d8b4471e99 100644 --- a/examples/internationalization/minimal/pubspec.yaml +++ b/examples/internationalization/minimal/pubspec.yaml @@ -3,7 +3,7 @@ description: A minimal example of a localized Flutter app resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/layout/base/pubspec.yaml b/examples/layout/base/pubspec.yaml index 029f159825..4252bb99bd 100644 --- a/examples/layout/base/pubspec.yaml +++ b/examples/layout/base/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/layout/card_and_stack/pubspec.yaml b/examples/layout/card_and_stack/pubspec.yaml index d775e9e3c1..c07e7c6ad6 100644 --- a/examples/layout/card_and_stack/pubspec.yaml +++ b/examples/layout/card_and_stack/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/layout/constraints/pubspec.yaml b/examples/layout/constraints/pubspec.yaml index 1458d69ed8..96e34f5d31 100644 --- a/examples/layout/constraints/pubspec.yaml +++ b/examples/layout/constraints/pubspec.yaml @@ -4,7 +4,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/layout/container/pubspec.yaml b/examples/layout/container/pubspec.yaml index 97f63169ae..840534f8b1 100644 --- a/examples/layout/container/pubspec.yaml +++ b/examples/layout/container/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/layout/gallery/pubspec.yaml b/examples/layout/gallery/pubspec.yaml index 7d1545c9d9..0b1f50a2fe 100644 --- a/examples/layout/gallery/pubspec.yaml +++ b/examples/layout/gallery/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: animations: ^2.2.0 diff --git a/examples/layout/grid_and_list/pubspec.yaml b/examples/layout/grid_and_list/pubspec.yaml index 8ba47bae7a..4ed96bfadf 100644 --- a/examples/layout/grid_and_list/pubspec.yaml +++ b/examples/layout/grid_and_list/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/layout/lakes/interactive/pubspec.yaml b/examples/layout/lakes/interactive/pubspec.yaml index db3f3eb818..a26211a215 100644 --- a/examples/layout/lakes/interactive/pubspec.yaml +++ b/examples/layout/lakes/interactive/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/layout/lakes/step2/pubspec.yaml b/examples/layout/lakes/step2/pubspec.yaml index f083a0e7b5..e78674c480 100644 --- a/examples/layout/lakes/step2/pubspec.yaml +++ b/examples/layout/lakes/step2/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/layout/lakes/step3/pubspec.yaml b/examples/layout/lakes/step3/pubspec.yaml index acbb36e3e3..58a4a9f698 100644 --- a/examples/layout/lakes/step3/pubspec.yaml +++ b/examples/layout/lakes/step3/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/layout/lakes/step4/pubspec.yaml b/examples/layout/lakes/step4/pubspec.yaml index 48b7a0aad5..2d8b457435 100644 --- a/examples/layout/lakes/step4/pubspec.yaml +++ b/examples/layout/lakes/step4/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/layout/lakes/step5/pubspec.yaml b/examples/layout/lakes/step5/pubspec.yaml index 7bcc3b504a..eb203c1b0d 100644 --- a/examples/layout/lakes/step5/pubspec.yaml +++ b/examples/layout/lakes/step5/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/layout/lakes/step6/pubspec.yaml b/examples/layout/lakes/step6/pubspec.yaml index 1327769a4d..e8bd350b1a 100644 --- a/examples/layout/lakes/step6/pubspec.yaml +++ b/examples/layout/lakes/step6/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/layout/non_material/pubspec.yaml b/examples/layout/non_material/pubspec.yaml index 406ef25a34..1a22aac918 100644 --- a/examples/layout/non_material/pubspec.yaml +++ b/examples/layout/non_material/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/layout/pavlova/pubspec.yaml b/examples/layout/pavlova/pubspec.yaml index 9a0cbcaca8..68f045a1b5 100644 --- a/examples/layout/pavlova/pubspec.yaml +++ b/examples/layout/pavlova/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/layout/row_column/pubspec.yaml b/examples/layout/row_column/pubspec.yaml index 771b19f8af..41df4d9eca 100644 --- a/examples/layout/row_column/pubspec.yaml +++ b/examples/layout/row_column/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/layout/sizing/pubspec.yaml b/examples/layout/sizing/pubspec.yaml index b8ca0cff6b..b93157e528 100644 --- a/examples/layout/sizing/pubspec.yaml +++ b/examples/layout/sizing/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/perf/concurrency/isolates/pubspec.yaml b/examples/perf/concurrency/isolates/pubspec.yaml index 2df2ee6698..f3d24cd6f2 100644 --- a/examples/perf/concurrency/isolates/pubspec.yaml +++ b/examples/perf/concurrency/isolates/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/perf/deferred_components/pubspec.yaml b/examples/perf/deferred_components/pubspec.yaml index c22b64e569..e25d5949af 100644 --- a/examples/perf/deferred_components/pubspec.yaml +++ b/examples/perf/deferred_components/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/platform_integration/compose_activities/pubspec.yaml b/examples/platform_integration/compose_activities/pubspec.yaml index af13b81e6e..fe0801d1b4 100644 --- a/examples/platform_integration/compose_activities/pubspec.yaml +++ b/examples/platform_integration/compose_activities/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/platform_integration/pigeon/pubspec.yaml b/examples/platform_integration/pigeon/pubspec.yaml index 9748359c6e..9259d83a51 100644 --- a/examples/platform_integration/pigeon/pubspec.yaml +++ b/examples/platform_integration/pigeon/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/platform_integration/platform_channels/pubspec.yaml b/examples/platform_integration/platform_channels/pubspec.yaml index 85f5f37306..9ce3f00cf1 100644 --- a/examples/platform_integration/platform_channels/pubspec.yaml +++ b/examples/platform_integration/platform_channels/pubspec.yaml @@ -9,7 +9,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/platform_integration/platform_views/pubspec.yaml b/examples/platform_integration/platform_views/pubspec.yaml index c37f5028c3..6cb2c97ccc 100644 --- a/examples/platform_integration/platform_views/pubspec.yaml +++ b/examples/platform_integration/platform_views/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/platform_integration/plugin_api_migration/pubspec.yaml b/examples/platform_integration/plugin_api_migration/pubspec.yaml index b706b92d88..59aa5d3bd6 100644 --- a/examples/platform_integration/plugin_api_migration/pubspec.yaml +++ b/examples/platform_integration/plugin_api_migration/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/pubspec.yaml b/examples/pubspec.yaml index 3c3dc5334e..1dd10ef00b 100644 --- a/examples/pubspec.yaml +++ b/examples/pubspec.yaml @@ -2,7 +2,7 @@ name: flutter_docs_examples publish_to: none environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 workspace: - _animation/basic_hero_animation diff --git a/examples/resources/architectural_overview/pubspec.yaml b/examples/resources/architectural_overview/pubspec.yaml index 175dcc6456..8a042bac8f 100644 --- a/examples/resources/architectural_overview/pubspec.yaml +++ b/examples/resources/architectural_overview/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/resources/dart_swift_concurrency/pubspec.yaml b/examples/resources/dart_swift_concurrency/pubspec.yaml index 000f248cc1..716c13f52a 100644 --- a/examples/resources/dart_swift_concurrency/pubspec.yaml +++ b/examples/resources/dart_swift_concurrency/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/state_mgmt/simple/pubspec.yaml b/examples/state_mgmt/simple/pubspec.yaml index 46cace50fd..aabbd8b1de 100644 --- a/examples/state_mgmt/simple/pubspec.yaml +++ b/examples/state_mgmt/simple/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/testing/code_debugging/pubspec.yaml b/examples/testing/code_debugging/pubspec.yaml index 1ba0443f87..4ea3e90eff 100644 --- a/examples/testing/code_debugging/pubspec.yaml +++ b/examples/testing/code_debugging/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/testing/common_errors/pubspec.yaml b/examples/testing/common_errors/pubspec.yaml index fc3f83df0c..f62c51f08a 100644 --- a/examples/testing/common_errors/pubspec.yaml +++ b/examples/testing/common_errors/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/testing/errors/pubspec.yaml b/examples/testing/errors/pubspec.yaml index 750a006ed4..5cb28f7e75 100644 --- a/examples/testing/errors/pubspec.yaml +++ b/examples/testing/errors/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/testing/integration_tests/how_to/pubspec.yaml b/examples/testing/integration_tests/how_to/pubspec.yaml index 557ba3a9ba..24831736a9 100644 --- a/examples/testing/integration_tests/how_to/pubspec.yaml +++ b/examples/testing/integration_tests/how_to/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/testing/native_debugging/pubspec.yaml b/examples/testing/native_debugging/pubspec.yaml index 951420e0ab..e1d2be85c6 100644 --- a/examples/testing/native_debugging/pubspec.yaml +++ b/examples/testing/native_debugging/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/tools/pubspec.yaml b/examples/tools/pubspec.yaml index f4b3a888e5..c9d66ba457 100644 --- a/examples/tools/pubspec.yaml +++ b/examples/tools/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/ui/actions_and_shortcuts/pubspec.yaml b/examples/ui/actions_and_shortcuts/pubspec.yaml index 05efe01e95..59cacb571f 100644 --- a/examples/ui/actions_and_shortcuts/pubspec.yaml +++ b/examples/ui/actions_and_shortcuts/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/ui/adaptive_app_demos/pubspec.yaml b/examples/ui/adaptive_app_demos/pubspec.yaml index 7f83e300ef..881b8ae919 100644 --- a/examples/ui/adaptive_app_demos/pubspec.yaml +++ b/examples/ui/adaptive_app_demos/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/ui/assets_and_images/pubspec.yaml b/examples/ui/assets_and_images/pubspec.yaml index 56e6643f7f..4a36f9964d 100644 --- a/examples/ui/assets_and_images/pubspec.yaml +++ b/examples/ui/assets_and_images/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: @@ -15,7 +15,7 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - vector_graphics_compiler: ^1.2.3 + vector_graphics_compiler: ^1.2.5 flutter: uses-material-design: true diff --git a/examples/ui/focus/pubspec.yaml b/examples/ui/focus/pubspec.yaml index a2cc7789f1..4846ec09a9 100644 --- a/examples/ui/focus/pubspec.yaml +++ b/examples/ui/focus/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/ui/interactive/pubspec.yaml b/examples/ui/interactive/pubspec.yaml index fc52dbc79e..6905d34b8b 100644 --- a/examples/ui/interactive/pubspec.yaml +++ b/examples/ui/interactive/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for interactive.md resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/ui/navigation/pubspec.yaml b/examples/ui/navigation/pubspec.yaml index 8c47570a83..35802c2c9b 100644 --- a/examples/ui/navigation/pubspec.yaml +++ b/examples/ui/navigation/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/ui/widgets_intro/pubspec.yaml b/examples/ui/widgets_intro/pubspec.yaml index 35c9b75433..0397ab039c 100644 --- a/examples/ui/widgets_intro/pubspec.yaml +++ b/examples/ui/widgets_intro/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/examples/visual_debugging/pubspec.yaml b/examples/visual_debugging/pubspec.yaml index f124c4eed0..cfb5ab3384 100644 --- a/examples/visual_debugging/pubspec.yaml +++ b/examples/visual_debugging/pubspec.yaml @@ -4,7 +4,7 @@ description: Examples of visual debugging. resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: flutter: diff --git a/firebase.json b/firebase.json index 9e34dc252e..25b272d1a3 100644 --- a/firebase.json +++ b/firebase.json @@ -478,6 +478,7 @@ { "source": "/go/flutter-iap-migrate-pblv2", "destination": "https://docs.google.com/document/d/1XM16UsLE_aPWoZnheE9waO06mhxLkkWjpPf9jtI1AdY/edit", "type": 301 }, { "source": "/go/flutter-ios-system-font", "destination": "https://docs.google.com/document/d/1FG9ONkG-sLuFkb9vUAL2i7oeUtUqm8qiQJe_poK754w/edit", "type": 301 }, { "source": "/go/flutter-lints", "destination": "https://docs.google.com/document/d/1b0X0HOzvFY3WxI363U8BXx6Am13qFm96KlbS72mmFAk/edit", "type": 301 }, + { "source": "/go/flutter-material-design-version-management-external", "destination": "https://docs.google.com/document/d/1-vO5fcdqnL4EmTjptbRyOg5q8jCdmdHArLz85KT0I_A/edit?usp=sharing", "type": 301 }, { "source": "/go/flutter-migrate", "destination": "https://docs.google.com/document/d/1fPnpUI6gXE9PkNWuFoAW20m_sQ87ZSC1rrn_D7fxBvs", "type": 301 }, { "source": "/go/flutter-nonhost", "destination": "https://docs.google.com/document/d/1rTLxAxsshEir-B2vE6DU_MaqMMusOdCgLGEGpBYG3CM", "type": 301 }, { "source": "/go/flutter-pigeon-native-wrapper", "destination": "https://docs.google.com/document/d/1Sw6F8GbNiO_lvS2fFjXrRYk2Go5RNDHudDT6kIX6Sm0/edit?usp=sharing", "type": 301 }, @@ -555,6 +556,7 @@ { "source": "/go/inheritedwidget-workshop", "destination": "https://dartpad.cn/workshops.html?webserver=https://dartpad-workshops-io2021.web.app/inherited_widget", "type": 301 }, { "source": "/go/input-field-autofill", "destination": "https://docs.google.com/document/d/1wYLsoc7NiHl2jFueB4Ros09E3nDCotdWVovDCFSMcAk/edit", "type": 301 }, { "source": "/go/intrinsic-box", "destination": "https://docs.google.com/document/d/1fTTEDEdH4i9mPXh7IiQ2w8TOwHYpGu7dSk1vFH2Hgow/edit", "type": 301 }, + { "source": "/go/introduce-component-library", "destination": "https://docs.google.com/document/d/1BeQTnjAL5YlcrDKrXMBGAJ5B3iCCSAdOhSRIsDQIDSs/edit", "type": 301 }, { "source": "/go/introduce-disposable", "destination": "https://docs.google.com/document/d/1cjylBOczGk70x-sn1iZYVNAfpPZdtGWsm_KzoNQX0jc/edit", "type": 301 }, { "source": "/go/io22concurrency", "destination": "https://github.com/goderbauer/io22concurrency", "type": 301 }, { "source": "/go/ios-17-text-input", "destination": "https://docs.google.com/document/d/1sM3HMv-SQin39yX1aPUU7vtGv7Hcef1Quc3QhRXBl6A/edit?resourcekey=0-SFYD8vmOIkXiXCZvB1Wlcw", "type": 301 }, @@ -632,6 +634,7 @@ { "source": "/go/multiple-flutters", "destination": "https://docs.google.com/document/d/1fdKRufqUzQvERcqNIUSq-GdabXc4k8VIsClzRElJ6KY", "type": 301 }, { "source": "/go/multiple-views", "destination": "https://docs.google.com/document/d/1Z7Qrb08dOnfB8IxPgsyujVn4MsDcYPUUku9CeF70_S0/edit?usp=sharing", "type": 301 }, { "source": "/go/navigator-with-router", "destination": "https://docs.google.com/document/d/1Q0jx0l4-xymph9O6zLaOY4d_f7YFpNWX_eGbzYxr9wY/edit", "type": 301 }, + { "source": "/go/nested-scrollable-overscroll-delegation", "destination": "https://docs.google.com/document/d/1fiY5qF0Kb0e1bbti2goCZFELN65ruCBk6UEt0-VJny0/edit", "type": 301 }, { "source": "/go/nshc", "destination": "https://docs.google.com/document/d/1uwHQ3ZEGN2cH6bFwa3CCXTTXCeDfOWw-kUa_B6oTMuA/edit", "type": 301 }, { "source": "/go/null-safety-workshop", "destination": "https://dartpad.cn/workshops.html?webserver=https://dartpad-workshops-io2021.web.app/null_safety_workshop", "type": 301 }, { "source": "/go/nullable-cupertinothemedata-brightness", "destination": "https://docs.google.com/document/d/1qivq0CdkWGst5LU5iTLFUe_LTfLY84679-NxWiDgJXg/edit", "type": 301 }, @@ -693,6 +696,7 @@ { "source": "/go/scalable-flutter-infrastructure", "destination": "https://docs.google.com/document/d/19GEUwAwJbNI-gO9ziV_oDESB28E_Pqppwx8ku9jdEqY", "type": 301 }, { "source": "/go/scale-selection-handles-ios-rich-text", "destination": "https://docs.google.com/document/d/1XuvdYUzZQAxCLYT2H1DNtOi1s6fGmFE-cgmweaijfe4/edit?usp=sharing", "type": 301 }, { "source": "/go/scrollable-alert-dialog", "destination": "https://docs.google.com/document/d/1qtVfjoKXE8BtkNbraKk9IzfRcks5btkKcyE4iGVwkbg/edit", "type": 301 }, + { "source": "/go/scroll-metrics-notification-align-docs", "destination": "https://docs.google.com/document/d/1zywaKs7YSNRCCZsxYgseP3xVaD5SrXg1lwT9XH24nvM/edit?usp=sharing", "type": 301 }, { "source": "/go/sdk-per-platform-installers", "destination": "https://docs.google.com/document/d/1VooN2bddQ52Z2B4qYi1Lp20PGhyYDr1AKaXwo9e7PCw", "type": 301 }, { "source": "/go/semantics-roles", "destination": "https://docs.google.com/document/d/1VRagJfHEbehVPa023xGUcFTqe5LgYGU2wYBmnNkwVmA/edit?usp=sharing", "type": 301 }, { "source": "/go/semantics-role-system", "destination": "https://docs.google.com/document/d/1WOEraK9VIh9dzpJ3mrXgenzfbpRxeISNAdgH8Sh80a4/edit?usp=sharing", "type": 301 }, diff --git a/packages/analysis_defaults/pubspec.yaml b/packages/analysis_defaults/pubspec.yaml index 27177f7e1d..c40a6861ba 100644 --- a/packages/analysis_defaults/pubspec.yaml +++ b/packages/analysis_defaults/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 # NOTE: Code isn't allowed in this package. # Don't add dependencies besides the underlying lints package. diff --git a/packages/excerpter/pubspec.yaml b/packages/excerpter/pubspec.yaml index 9a1118e383..b32332b90c 100644 --- a/packages/excerpter/pubspec.yaml +++ b/packages/excerpter/pubspec.yaml @@ -5,7 +5,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: args: ^2.7.0 diff --git a/pubspec.yaml b/pubspec.yaml index a3d2f1b3e2..e68481848d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,7 +4,7 @@ description: >- publish_to: none environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 workspace: - packages/analysis_defaults diff --git a/sites/docs/pubspec.yaml b/sites/docs/pubspec.yaml index 133f430a6d..36a378a3b7 100644 --- a/sites/docs/pubspec.yaml +++ b/sites/docs/pubspec.yaml @@ -4,7 +4,7 @@ homepage: https://docs.flutter.dev resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: build: ^4.0.6 @@ -33,7 +33,7 @@ dev_dependencies: build_runner: ^2.15.0 build_web_compilers: ^4.6.0 jaspr_builder: ^0.23.1 - sass: ^1.99.0 + sass: ^1.100.0 sass_builder: ^2.4.0+1 jaspr: diff --git a/sites/docs/src/content/ai/genui/index.md b/sites/docs/src/content/ai/genui/index.md index e704773a6c..59363d0732 100644 --- a/sites/docs/src/content/ai/genui/index.md +++ b/sites/docs/src/content/ai/genui/index.md @@ -44,7 +44,14 @@ into your app. For example: For more context about GenUI SDK for Flutter, check out the [Getting started with GenUI video][]: - + + +Also, check out the Flutter + A2UI = GenUI video from +Google I/O 2026! + + :::experimental The `genui` package is in diff --git a/sites/docs/src/content/data-and-backend/state-mgmt/simple.md b/sites/docs/src/content/data-and-backend/state-mgmt/simple.md index 5415e44131..25fe6f0bb6 100644 --- a/sites/docs/src/content/data-and-backend/state-mgmt/simple.md +++ b/sites/docs/src/content/data-and-backend/state-mgmt/simple.md @@ -634,30 +634,6 @@ rebuild when `notifyListeners` is called. 并不会使 widget 被重构。 -## Putting it all together - -## 把代码集成在一起 - -You can [check out the example][] covered in this article. -If you want something simpler, -see what the simple Counter app looks like when -[built with `provider`][]. - -你可以在文章中 [查看这个示例][check out the example]。 -如果你想参考稍微简单一点的示例,可以看看 Counter 应用程序是如何 -[基于 `provider` 实现的][built with `provider`]。 - -By following along with these articles, you've greatly -improved your ability to create state-based applications. -Try building an application with `provider` yourself to -master these skills. - -通过跟着这些文章的学习,你已经大大提高了 -创建一个包含状态管理应用的能力。 -试着自己用 `provider` 构建一个应用来掌握这些技能吧! - -[built with `provider`]: {{site.repo.samples}}/tree/main/provider_counter -[check out the example]: {{site.repo.samples}}/tree/main/provider_shopper [declarative UI programming]: /data-and-backend/state-mgmt/declarative [ephemeral and app state]: /data-and-backend/state-mgmt/ephemeral-vs-app [options page]: /data-and-backend/state-mgmt/options diff --git a/sites/docs/src/content/index.md b/sites/docs/src/content/index.md index f706953614..2035fab818 100644 --- a/sites/docs/src/content/index.md +++ b/sites/docs/src/content/index.md @@ -125,33 +125,50 @@ Coming from another platform? Check out Flutter for: 了解更多来自社区的内容更新。
- 了解关于 Dart、Flutter 以及 GenUI 的最新动态! - + 了解关于 Dart、Flutter 的最新动态! +

-For more of the latest on Dart, Flutter, and the Future of Apps, check out -the other technical sessions from [FlutterFlightPlans][], like these! +For more of the latest on Dart and Flutter, check out +the technical sessions from [Google I/O][io-wrap-up], +like these! -如果想要了解更多关于 Dart、Flutter 以及应用程序的未来, -请观看 [FlutterFlightPlans][] 的其他技术内容,例如下面这些! +如果想要了解更多关于 Dart 和 Flutter 的最新动态, +请观看 [Google I/O][io-wrap-up] 的技术内容,例如下面这些!
- +
- +
-[FlutterFlightPlans]: {{site.yt.watch}}?v=RTb3gP4p5bw +Also, we launched a new 4-video series at Google I/O called +the Full-stack developer guide: -To learn about all of the Flutter video series, see our [videos][] page. +此外,我们在 Google I/O 上发布了一个名为 《Full-stack developer guide》 的视频系列(共 4 集): + +
+ +
+ +You can find the 4 videos in this series, as well as a wrap-up video, +on the [Google I/O wrap-up][io-wrap-up] blog post. + +你可以在 [Google I/O 总结][io-wrap-up] 博客文章中 +找到本系列的 4 集视频以及一段总结视频。 + +[io-wrap-up]: {{site.flutter-blog}}/thats-a-wrap-everything-flutter-at-google-i-o-2026-f316e57186e3 + +To learn about all of the Flutter video series, +visit our [videos][] page. 请浏览我们的 [视频列表][videos],来了解所有 Flutter 视频系列。 diff --git a/sites/docs/src/content/learn/pathway/tutorial/layout.md b/sites/docs/src/content/learn/pathway/tutorial/layout.md index 042bc5c3ae..447967041e 100644 --- a/sites/docs/src/content/learn/pathway/tutorial/layout.md +++ b/sites/docs/src/content/learn/pathway/tutorial/layout.md @@ -253,9 +253,11 @@ Now, it looks more like the following (abridged) figure: :::note Challenge Add a `Tile` to each row for each letter allowed in the guess. -The `guess` variable in the loop is a [record][] with the type +Each element in `guess` is a [record][] with the type `({String char, HitType type})`. +Use a nested loop to iterate over the letters in each guess. + **Solution:** diff --git a/sites/docs/src/content/platform-integration/ios/setup.md b/sites/docs/src/content/platform-integration/ios/setup.md index 3e1b2dce1e..120a86fa2e 100644 --- a/sites/docs/src/content/platform-integration/ios/setup.md +++ b/sites/docs/src/content/platform-integration/ios/setup.md @@ -134,18 +134,6 @@ an iOS physical device or on the iOS Simulator. $ xcodebuild -downloadPlatform iOS ``` - :::note - - As of Flutter 3.41.9, - Rosetta is no longer required to build and run - iOS apps on [Apple Silicon][] Macs. - - 从 Flutter 3.41.9 开始, - 在 [Apple Silicon][] Mac 上构建和运行 iOS 时, - 不再需要 Rosetta。 - - ::: - 1.

Install CocoaPods

安装 CocoaPods

@@ -171,7 +159,6 @@ an iOS physical device or on the iOS Simulator. {: .steps} [xcode]: https://developer.apple.com/xcode/ -[Apple Silicon]: https://support.apple.com/en-us/116943 [cocoapods]: https://guides.cocoapods.org/using/getting-started.html#installation [Flutter plugins]: /packages-and-plugins/developing-packages#types [CocoaPods installation guide]: https://guides.cocoapods.org/using/getting-started.html#installation diff --git a/sites/docs/src/content/platform-integration/web/faq.md b/sites/docs/src/content/platform-integration/web/faq.md index 5bc7117e00..228fbccde8 100644 --- a/sites/docs/src/content/platform-integration/web/faq.md +++ b/sites/docs/src/content/platform-integration/web/faq.md @@ -300,21 +300,18 @@ you can configure your cache headers as follows, ### How do I configure a service worker? -The service worker generated by `flutter build web` is deprecated, -and you can disable it by setting the `--pwa-strategy` flag to `none` -when running the `flutter build web` command. +Flutter no longer generates or manages a service worker by default. -```console -flutter build web --pwa-strategy=none -``` +If your application requires offline support or advanced caching, +you need to configure a service worker yourself using standard +web tooling or third-party solutions such as [Workbox][workbox]. -If you would like to continue to use a service worker, you can -[build your own][using-service-workers] or try third-party tools -such as [Workbox][workbox]. +For more information on building custom service workers, +check out [Using service workers][]. -If your service worker is not refreshing, -configure your CDN and browser cache by setting -the `Cache-Control` header to a small value such as 0 or 60 seconds. +If your service worker is not refreshing, configure your CDN and +browser cache by setting the `Cache-Control` header to a small +value such as 0 or 60 seconds. [building a web app with Flutter]: /platform-integration/web/building [Creating responsive apps]: /ui/adaptive-responsive @@ -329,7 +326,7 @@ the `Cache-Control` header to a small value such as 0 or 60 seconds. [Preparing a web app for release]: /deployment/web [roadmap]: {{site.github}}/flutter/flutter/blob/main/docs/roadmap/Roadmap.md#web-platform [run your web apps in any supported browser]: /platform-integration/web/building#create-and-run -[using-service-workers]: https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers +[Using service workers]: https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers [Web content in Flutter]: /platform-integration/web/web-content-in-flutter [Web support for Flutter]: /platform-integration/web [web workers]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers diff --git a/sites/docs/src/content/release/breaking-changes/dropdownbutton-enabled-property.md b/sites/docs/src/content/release/breaking-changes/dropdownbutton-enabled-property.md new file mode 100644 index 0000000000..236474934c --- /dev/null +++ b/sites/docs/src/content/release/breaking-changes/dropdownbutton-enabled-property.md @@ -0,0 +1,151 @@ +--- +title: Added enabled property and made onChanged optional for DropdownButton +description: >- + DropdownButton and DropdownButtonFormField now support an explicit enabled + property, and their onChanged callbacks are no longer required. +--- + +{% render "docs/breaking-changes.md" %} + +## Summary + +`DropdownButton` and `DropdownButtonFormField` now include +an `enabled` property to explicitly manage their interactive state, +and the `onChanged` callback is no longer marked as `required`. + +## Background + +Previously, `DropdownButton` and `DropdownButtonFormField` didn't +have an `enabled` parameter. +The only way to disable the dropdown +(graying it out and making it non-interactive) was to +pass `null` to the `required` `onChanged` callback. +This led to unintuitive code when trying to +dynamically enable or disable the button, +forcing developers to write conditional expressions for the callback itself, +such as `onChanged: condition ? (value) { ... } : null`. + +To improve this API, a dedicated `enabled` property was introduced, +and `onChanged` was made optional. + +The `enabled` property is optional. +Making it mandatory introduces a massive breaking change that +breaks nearly every existing `DropdownButton` implementation in +the Flutter ecosystem. +Instead, to preserve backward compatibility, +if the `enabled` argument isn't explicitly provided, +the button determines its state by falling back to whether +`onChanged` is provided (that is, it's enabled if `onChanged != null`, +and disabled if `onChanged == null`). + +The minor breaking change here is structural: +while the old conditional `onChanged` pattern technically +still works due to the fallback logic, +developers are encouraged to migrate to the clearer API by +explicitly using the `enabled` property. + +## Migration guide + +If you previously disabled your `DropdownButton` by +conditionally passing `null` to `onChanged`, +migrate to the new `enabled` property. +This cleanly separates the state of the widget (enabled/disabled) from +its behavior (the callback). + +To automatically migrate your code for simple cases +(such as statically passing `null`), run the following command: + +```console +$ dart fix --apply +``` + +:::important +Note that `dart fix` will not automatically migrate cases where `onChanged` +is set using conditional logic. For those, you must update your code manually. +::: + +### Case 1: Statically disabled dropdown {: #case-1-statically-disabled } + +For simple cases where a dropdown is permanently disabled, +you can now simply omit `onChanged` and use `enabled: false`. + +Code before migration: + +```dart +final disabledDropdown = DropdownButton( + value: 'Option 1', + items: const [ + DropdownMenuItem(value: 'Option 1', child: Text('Option 1')), + ], + onChanged: null, // This was the only way to disable it +); +``` + +Code after migration: + +```dart diff + final disabledDropdown = DropdownButton( + value: 'Option 1', + items: const [ + DropdownMenuItem(value: 'Option 1', child: Text('Option 1')), + ], +- onChanged: null, // This was the only way to disable it ++ enabled: false, + ); +``` + +### Case 2: Conditionally disabled dropdown {: #case-2-conditionally-disabled } + +The recommended best practice is to separate the callback from +the interactive state by using the `enabled` property directly. + +Code before migration: + +```dart +final conditionalDropdown = DropdownButton( + value: 'Option 1', + items: const [ + DropdownMenuItem(value: 'Option 1', child: Text('Option 1')), + ], + onChanged: condition ? (value) { ... } : null, +); +``` + +Code after migration: + +```dart diff + final conditionalDropdown = DropdownButton( + value: 'Option 1', + items: const [ + DropdownMenuItem(value: 'Option 1', child: Text('Option 1')), + ], +- onChanged: condition ? (value) { ... } : null, ++ onChanged: (value) { ... }, ++ enabled: condition, + ); +``` + +## Timeline + +Landed in version: 3.44.0-1.0.pre-629
+In stable release: Not yet + +## References + +API documentation: + +* [`DropdownButton`][] +* [`DropdownButtonFormField`][] + +Relevant issues: + +* [Why is DropdownButtonFormField's onChanged required?][issue-57953] + +Relevant PRs: + +* [Update DropdownButton enabled property logic][] + +[`DropdownButton`]: {{site.api}}/flutter/material/DropdownButton-class.html +[`DropdownButtonFormField`]: {{site.api}}/flutter/material/DropdownButtonFormField-class.html +[issue-57953]: {{site.repo.flutter}}/issues/57953 +[Update DropdownButton enabled property logic]: {{site.repo.flutter}}/pull/182419 diff --git a/sites/docs/src/content/release/breaking-changes/index.md b/sites/docs/src/content/release/breaking-changes/index.md index ad1b313bef..bff52a6582 100644 --- a/sites/docs/src/content/release/breaking-changes/index.md +++ b/sites/docs/src/content/release/breaking-changes/index.md @@ -61,8 +61,10 @@ They're sorted by release and listed in alphabetical order: ### Not yet released to stable * [Large screen orientation and resizability restrictions ignored on Android 17][] +* [Added enabled property and made onChanged optional for DropdownButton][] [Large screen orientation and resizability restrictions ignored on Android 17]: /release/breaking-changes/android-large-screens-restrictions-ignored +[Added enabled property and made onChanged optional for DropdownButton]: /release/breaking-changes/dropdownbutton-enabled-property ### Released in Flutter 3.44 diff --git a/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors.md b/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors.md index e2c783c8ba..ceb6c4ed7c 100644 --- a/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors.md +++ b/sites/docs/src/content/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors.md @@ -184,11 +184,11 @@ Update the minimum Flutter version and the minimum Dart version: ```yaml diff title="/pubspec.yaml" # ... -environment: -- sdk: ^ -+ sdk: ^3.12.0 -- flutter: ">=" -+ flutter: ">=3.44.0" + environment: +- sdk: ^ ++ sdk: ^3.12.0 +- flutter: ">=" ++ flutter: ">=3.44.0" # ... ``` @@ -329,7 +329,7 @@ android { Next, remove the `kotlin-android` plugin and the `kotlinOptions` block: ```groovy diff title="/android/build.gradle" -apply plugin: 'com.android.library' + apply plugin: 'com.android.library' - apply plugin: 'kotlin-android' android { diff --git a/sites/docs/src/content/release/whats-new.md b/sites/docs/src/content/release/whats-new.md index 386a32d5c5..60bf1d7e5e 100644 --- a/sites/docs/src/content/release/whats-new.md +++ b/sites/docs/src/content/release/whats-new.md @@ -35,6 +35,22 @@ and review the [Dart changelog][]. [flutter-announce]: {{site.groups}}/forum/#!forum/flutter-announce [release notes]: /release/release-notes +## 18 May 2026: Google I/O Release 3.44 + +Flutter 3.44 is live! This release is jam packed. +For details, check out the [Flutter 3.44 blog post][3.44-blog-post] +and [watch the video][3.44-whats-new]: + +
+Check out the latest in Dart and Flutter + +
+ +[3.44-blog-post]: {{site.flutter-blog}}/whats-new-in-flutter-3-44-b0cc1ad3c527 +[3.44-whats-new]: https://www.youtube.com/watch?v=I1uIbGh1dGE&t=451s + +More on the site updates to come. + ## 11 February 2026: "Year of the Fire Horse" Release 3.41 Flutter 3.41 is live! For details, diff --git a/sites/docs/src/content/tools/antigravity.md b/sites/docs/src/content/tools/antigravity.md index 609c97b941..48241b852d 100644 --- a/sites/docs/src/content/tools/antigravity.md +++ b/sites/docs/src/content/tools/antigravity.md @@ -14,6 +14,12 @@ and answer questions. [ag]: https://antigravity.google/ +To learn some of what Antigravity is capable of, +watch this talk from Google I/O 2026. + + + ## Installation and setup {: #setup} Install the latest version of Antigravity for your platform by visiting diff --git a/sites/docs/src/data/catalog/widgets.yml b/sites/docs/src/data/catalog/widgets.yml index fcca72cb6c..7b0c4e9c79 100644 --- a/sites/docs/src/data/catalog/widgets.yml +++ b/sites/docs/src/data/catalog/widgets.yml @@ -1624,6 +1624,15 @@ link: https://api.flutter-io.cn/flutter/material/OutlinedButton-class.html image: src: /assets/images/docs/widget-catalog/material-outlined-button.png +- name: OverflowBar + description: >- + A widget that lays out its children in a row unless they + "overflow" the available horizontal space, in which case + it lays them out in a column instead. + categories: [] + subcategories: + - 'Multi-child layout widgets' + link: https://api.flutter-io.cn/flutter/widgets/OverflowBar-class.html - name: OverflowBox description: >- A widget that imposes different constraints on its child than it gets from diff --git a/sites/docs/src/data/site.yml b/sites/docs/src/data/site.yml index ca59ca9327..9ce7850021 100644 --- a/sites/docs/src/data/site.yml +++ b/sites/docs/src/data/site.yml @@ -8,8 +8,9 @@ showBanner: true # The raw, inline HTML to display in the banner. # Is automatically wrapped in a paragraph tag. bannerHtml: >- - Flutter 将于 5 月 19 日至 20 日重返 Google I/O 大会! - 立即注册 + Flutter 3.44 正式发布! + 了解 新特性 以及 + 阅读 博客文章。 branch: main repo: diff --git a/tool/dash_site/lib/src/commands/stage_preview.dart b/tool/dash_site/lib/src/commands/stage_preview.dart index a87c76aeb2..0e7f8a124d 100644 --- a/tool/dash_site/lib/src/commands/stage_preview.dart +++ b/tool/dash_site/lib/src/commands/stage_preview.dart @@ -293,14 +293,10 @@ $stagingUrl'''; commentBody, ); } else { - // package:github's IssuesService.updateComment issues a POST, - // but GitHub's REST API requires PATCH for this endpoint. - await gitHub.request( - 'PATCH', - '/repos/${repository.fullName}/issues/comments/$existingCommentId', - headers: {'Content-Type': 'application/json'}, - body: jsonEncode({'body': commentBody}), - statusCode: github.StatusCodes.OK, + await gitHub.issues.updateComment( + repository, + existingCommentId, + commentBody, ); } } on github.GitHubError catch (error) { diff --git a/tool/dash_site/pubspec.yaml b/tool/dash_site/pubspec.yaml index 3afb34a8f5..6d2af8f1ee 100644 --- a/tool/dash_site/pubspec.yaml +++ b/tool/dash_site/pubspec.yaml @@ -4,13 +4,13 @@ publish_to: none resolution: workspace environment: - sdk: ^3.12.0-0 + sdk: ^3.12.0 dependencies: args: ^2.7.0 excerpter: path: ../../packages/excerpter - github: ^9.25.0 + github: ^9.25.1 io: ^1.0.5 linkcheck: ^3.1.0 path: ^1.9.1