diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index c6445bea5..6e545fe97 100644 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -17,24 +17,12 @@ updates: update-types: ["version-update:semver-minor", "version-update:semver-patch"] labels: - "autosubmit" - - package-ecosystem: "pub" - directory: "add_to_app/android_view/flutter_module_using_plugin/" - schedule: - interval: "daily" - labels: - - "autosubmit" - package-ecosystem: "pub" directory: "add_to_app/books/flutter_module_books/" schedule: interval: "daily" labels: - "autosubmit" - - package-ecosystem: "pub" - directory: "add_to_app/fullscreen/flutter_module/" - schedule: - interval: "daily" - labels: - - "autosubmit" - package-ecosystem: "pub" directory: "add_to_app/multiple_flutters/multiple_flutters_module/" schedule: @@ -77,30 +65,6 @@ updates: interval: "daily" labels: - "autosubmit" - - package-ecosystem: "pub" - directory: "code_sharing/client/" - schedule: - interval: "daily" - labels: - - "autosubmit" - - package-ecosystem: "pub" - directory: "code_sharing/server/" - schedule: - interval: "daily" - labels: - - "autosubmit" - - package-ecosystem: "pub" - directory: "code_sharing/shared/" - schedule: - interval: "daily" - labels: - - "autosubmit" - - package-ecosystem: "pub" - directory: "deeplink_store_example/" - schedule: - interval: "daily" - labels: - - "autosubmit" - package-ecosystem: "pub" directory: "desktop_photo_search/fluent_ui/" schedule: @@ -113,126 +77,24 @@ updates: interval: "daily" labels: - "autosubmit" - - package-ecosystem: "pub" - directory: "experimental/context_menus/" - schedule: - interval: "daily" - labels: - - "autosubmit" - - package-ecosystem: "pub" - directory: "experimental/federated_plugin/federated_plugin/" - schedule: - interval: "daily" - labels: - - "autosubmit" - - package-ecosystem: "pub" - directory: "experimental/federated_plugin/federated_plugin/example/" - schedule: - interval: "daily" - labels: - - "autosubmit" - - package-ecosystem: "pub" - directory: "experimental/federated_plugin/federated_plugin_macos/" - schedule: - interval: "daily" - labels: - - "autosubmit" - - package-ecosystem: "pub" - directory: "experimental/federated_plugin/federated_plugin_platform_interface/" - schedule: - interval: "daily" - labels: - - "autosubmit" - - package-ecosystem: "pub" - directory: "experimental/federated_plugin/federated_plugin_web/" - schedule: - interval: "daily" - labels: - - "autosubmit" - - package-ecosystem: "pub" - directory: "experimental/federated_plugin/federated_plugin_windows/" - schedule: - interval: "daily" - labels: - - "autosubmit" - - package-ecosystem: "pub" - directory: "experimental/material_3_demo/" - schedule: - interval: "daily" - labels: - - "autosubmit" - - package-ecosystem: "pub" - directory: "experimental/pedometer/" - schedule: - interval: "daily" - labels: - - "autosubmit" - - package-ecosystem: "pub" - directory: "experimental/pedometer/example/" - schedule: - interval: "daily" - labels: - - "autosubmit" - - package-ecosystem: "pub" - directory: "experimental/varfont_shader_puzzle/" - schedule: - interval: "daily" - labels: - - "autosubmit" - - package-ecosystem: "pub" - directory: "experimental/web_dashboard/" - schedule: - interval: "daily" - labels: - - "autosubmit" - - package-ecosystem: "pub" - directory: "flutter_maps_firestore/" - schedule: - interval: "daily" - labels: - - "autosubmit" - package-ecosystem: "pub" directory: "form_app/" schedule: interval: "daily" labels: - "autosubmit" - - package-ecosystem: "pub" - directory: "game_template/" - schedule: - interval: "daily" - labels: - - "autosubmit" - package-ecosystem: "pub" directory: "google_maps/" schedule: interval: "daily" labels: - "autosubmit" - - package-ecosystem: "pub" - directory: "infinite_list/" - schedule: - interval: "daily" - labels: - - "autosubmit" - package-ecosystem: "pub" directory: "ios_app_clip/" schedule: interval: "daily" labels: - "autosubmit" - - package-ecosystem: "pub" - directory: "isolate_example/" - schedule: - interval: "daily" - labels: - - "autosubmit" - - package-ecosystem: "pub" - directory: "jsonexample/" - schedule: - interval: "daily" - labels: - - "autosubmit" - package-ecosystem: "pub" directory: "material_3_demo/" schedule: @@ -245,12 +107,6 @@ updates: interval: "daily" labels: - "autosubmit" - - package-ecosystem: "pub" - directory: "place_tracker/" - schedule: - interval: "daily" - labels: - - "autosubmit" - package-ecosystem: "pub" directory: "platform_channels/" schedule: @@ -269,18 +125,6 @@ updates: interval: "daily" labels: - "autosubmit" - - package-ecosystem: "pub" - directory: "provider_counter/" - schedule: - interval: "daily" - labels: - - "autosubmit" - - package-ecosystem: "pub" - directory: "provider_shopper/" - schedule: - interval: "daily" - labels: - - "autosubmit" - package-ecosystem: "pub" directory: "simple_sdf/" schedule: @@ -293,42 +137,12 @@ updates: interval: "daily" labels: - "autosubmit" - - package-ecosystem: "pub" - directory: "simplistic_calculator/" - schedule: - interval: "daily" - labels: - - "autosubmit" - - package-ecosystem: "pub" - directory: "simplistic_editor/" - schedule: - interval: "daily" - labels: - - "autosubmit" - package-ecosystem: "pub" directory: "testing_app/" schedule: interval: "daily" labels: - "autosubmit" - - package-ecosystem: "pub" - directory: "veggieseasons/" - schedule: - interval: "daily" - labels: - - "autosubmit" - - package-ecosystem: "pub" - directory: "web/_tool/" - schedule: - interval: "daily" - labels: - - "autosubmit" - - package-ecosystem: "pub" - directory: "web/samples_index/" - schedule: - interval: "daily" - labels: - - "autosubmit" - package-ecosystem: "pub" directory: "web_embedding/element_embedding_demo/" schedule: @@ -341,3 +155,4 @@ updates: interval: "daily" labels: - "autosubmit" + diff --git a/.github/workflows/build-android.yml b/.github/workflows/build-android.yml index e88b2a3fd..5eec9f6ab 100644 --- a/.github/workflows/build-android.yml +++ b/.github/workflows/build-android.yml @@ -19,8 +19,8 @@ jobs: runs-on: ubuntu-latest if: github.repository == 'flutter/samples' steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - - uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 + - uses: actions/setup-java@ad2b38190b15e4d6bdf0c97fb4fca8412226d287 with: distribution: 'zulu' java-version: '17' diff --git a/.github/workflows/build-ios.yml b/.github/workflows/build-ios.yml index 91e222a7b..ce59d6f27 100644 --- a/.github/workflows/build-ios.yml +++ b/.github/workflows/build-ios.yml @@ -22,8 +22,8 @@ jobs: strategy: fail-fast: false steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - - uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 + - uses: actions/setup-java@ad2b38190b15e4d6bdf0c97fb4fca8412226d287 with: distribution: 'zulu' java-version: '17' diff --git a/.github/workflows/gemini-cli.yml b/.github/workflows/gemini-cli.yml index ed4e1fdfa..8f8b1c23a 100644 --- a/.github/workflows/gemini-cli.yml +++ b/.github/workflows/gemini-cli.yml @@ -91,7 +91,7 @@ jobs: id: 'generate_token' if: |- ${{ vars.APP_ID }} - uses: 'actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42' # ratchet:actions/create-github-app-token@v2 + uses: 'actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1' # ratchet:actions/create-github-app-token@v2 with: app-id: '${{ vars.APP_ID }}' private-key: '${{ secrets.APP_PRIVATE_KEY }}' @@ -144,7 +144,7 @@ jobs: - name: 'Checkout PR branch' if: |- ${{ steps.get_context.outputs.is_pr == 'true' }} - uses: 'actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd' # ratchet:actions/checkout@v4 + uses: 'actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10' # ratchet:actions/checkout@v4 with: token: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}' repository: '${{ github.repository }}' @@ -154,7 +154,7 @@ jobs: - name: 'Checkout main branch' if: |- ${{ steps.get_context.outputs.is_pr == 'false' }} - uses: 'actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd' # ratchet:actions/checkout@v4 + uses: 'actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10' # ratchet:actions/checkout@v4 with: token: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}' repository: '${{ github.repository }}' diff --git a/.github/workflows/gemini-issue-automated-triage.yml b/.github/workflows/gemini-issue-automated-triage.yml index c76997958..c122f78b5 100644 --- a/.github/workflows/gemini-issue-automated-triage.yml +++ b/.github/workflows/gemini-issue-automated-triage.yml @@ -44,13 +44,13 @@ jobs: steps: - name: 'Checkout repository' - uses: 'actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd' # ratchet:actions/checkout@v4 + uses: 'actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10' # ratchet:actions/checkout@v4 - name: 'Generate GitHub App Token' id: 'generate_token' if: |- ${{ vars.APP_ID }} - uses: 'actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42' # ratchet:actions/create-github-app-token@v2 + uses: 'actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1' # ratchet:actions/create-github-app-token@v2 with: app-id: '${{ vars.APP_ID }}' private-key: '${{ secrets.APP_PRIVATE_KEY }}' diff --git a/.github/workflows/gemini-issue-scheduled-triage.yml b/.github/workflows/gemini-issue-scheduled-triage.yml index 10f002378..bda1b89e6 100644 --- a/.github/workflows/gemini-issue-scheduled-triage.yml +++ b/.github/workflows/gemini-issue-scheduled-triage.yml @@ -26,13 +26,13 @@ jobs: steps: - name: 'Checkout repository' - uses: 'actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd' # ratchet:actions/checkout@v4 + uses: 'actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10' # ratchet:actions/checkout@v4 - name: 'Generate GitHub App Token' id: 'generate_token' if: |- ${{ vars.APP_ID }} - uses: 'actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42' # ratchet:actions/create-github-app-token@v2 + uses: 'actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1' # ratchet:actions/create-github-app-token@v2 with: app-id: '${{ vars.APP_ID }}' private-key: '${{ secrets.APP_PRIVATE_KEY }}' diff --git a/.github/workflows/gemini-pr-review.yml b/.github/workflows/gemini-pr-review.yml index 0405735b1..d8412354c 100644 --- a/.github/workflows/gemini-pr-review.yml +++ b/.github/workflows/gemini-pr-review.yml @@ -66,13 +66,13 @@ jobs: steps: - name: 'Checkout PR code' - uses: 'actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd' # ratchet:actions/checkout@v4 + uses: 'actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10' # ratchet:actions/checkout@v4 - name: 'Generate GitHub App Token' id: 'generate_token' if: |- ${{ vars.APP_ID }} - uses: 'actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42' # ratchet:actions/create-github-app-token@v2 + uses: 'actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1' # ratchet:actions/create-github-app-token@v2 with: app-id: '${{ vars.APP_ID }}' private-key: '${{ secrets.APP_PRIVATE_KEY }}' diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 689aa71fa..80c849059 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,8 +27,8 @@ jobs: flutter_version: [stable] os: [ubuntu-latest, macos-latest] steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - - uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 + - uses: actions/setup-java@ad2b38190b15e4d6bdf0c97fb4fca8412226d287 with: distribution: 'zulu' java-version: '17' diff --git a/add_to_app/ios_content_resizing/flutter_module/lib/main.dart b/add_to_app/ios_content_resizing/flutter_module/lib/main.dart index 97834ef24..24ef27fdb 100644 --- a/add_to_app/ios_content_resizing/flutter_module/lib/main.dart +++ b/add_to_app/ios_content_resizing/flutter_module/lib/main.dart @@ -33,20 +33,21 @@ class _ResizeAppState extends State { mainAxisSize: MainAxisSize.min, children: [ for (int i = 0; i < _listSize; i++) - Container(color: HSVColor.fromAHSV(1, (10.0 * i), 1, 1).toColor(), height: 50, width: 200, + Container( + color: HSVColor.fromAHSV(1, (10.0 * i), 1, 1).toColor(), + height: 50, + width: 200, child: Center( child: Text( 'Flutter Widget $i', style: const TextStyle(fontSize: 16, color: Colors.black), ), - )), - TextButton( - onPressed: _addToList, - child: Text('Listception!'), - ) + ), + ), + TextButton(onPressed: _addToList, child: Text('Listception!')), ], ), ), ); } -} \ No newline at end of file +} diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/lib/main.dart b/add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/lib/main.dart index 875600586..15cfcbaf6 100644 --- a/add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/lib/main.dart +++ b/add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/lib/main.dart @@ -26,7 +26,6 @@ class _MyAppState extends State { @override Widget build(BuildContext context) { - return Center( heightFactor: 1, child: Directionality( @@ -46,7 +45,6 @@ class _MyAppState extends State { child: Text("Add to list"), ), ), - ], ), ), diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/pubspec.yaml b/add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/pubspec.yaml index 2c00a2cb1..e6b38a31d 100644 --- a/add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/pubspec.yaml +++ b/add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/pubspec.yaml @@ -13,7 +13,7 @@ dependencies: dev_dependencies: analysis_defaults: - path: ../../../analysis_defaults + path: ../../../../analysis_defaults flutter_test: sdk: flutter flutter_driver: diff --git a/simple_sdf/lib/main.dart b/simple_sdf/lib/main.dart index 214c68783..3d5ec85f9 100644 --- a/simple_sdf/lib/main.dart +++ b/simple_sdf/lib/main.dart @@ -44,13 +44,15 @@ class MyHomePage extends StatelessWidget { } class ShaderPainter extends CustomPainter { - ShaderPainter({required this.shader}); - ui.FragmentShader shader; + ShaderPainter({required this.shader}) + : _resolution = shader.getUniformVec2('resolution'); + + final ui.FragmentShader shader; + final ui.UniformVec2Slot _resolution; @override void paint(Canvas canvas, Size size) { - shader.setFloat(0, size.width); - shader.setFloat(1, size.height); + _resolution.set(size.width, size.height); final paint = Paint()..shader = shader; canvas.drawRect(Rect.fromLTWH(0, 0, size.width, size.height), paint); diff --git a/simple_shader/lib/main.dart b/simple_shader/lib/main.dart index dea7caa88..037eb69b4 100644 --- a/simple_shader/lib/main.dart +++ b/simple_shader/lib/main.dart @@ -44,13 +44,15 @@ class MyHomePage extends StatelessWidget { } class ShaderPainter extends CustomPainter { - ShaderPainter({required this.shader}); - ui.FragmentShader shader; + ShaderPainter({required this.shader}) + : _resolution = shader.getUniformVec2('resolution'); + + final ui.FragmentShader shader; + final ui.UniformVec2Slot _resolution; @override void paint(Canvas canvas, Size size) { - shader.setFloat(0, size.width); - shader.setFloat(1, size.height); + _resolution.set(size.width, size.height); final paint = Paint()..shader = shader; canvas.drawRect(Rect.fromLTWH(0, 0, size.width, size.height), paint); diff --git a/testing_app/lib/screens/home.dart b/testing_app/lib/screens/home.dart index 2eac461db..c013a3b98 100644 --- a/testing_app/lib/screens/home.dart +++ b/testing_app/lib/screens/home.dart @@ -30,7 +30,6 @@ class HomePage extends StatelessWidget { ), body: ListView.builder( itemCount: 100, - cacheExtent: 20.0, controller: ScrollController(), padding: const EdgeInsets.symmetric(vertical: 16), itemBuilder: (context, index) => ItemTile(index), diff --git a/web_embedding/ng-flutter/package.json b/web_embedding/ng-flutter/package.json index ae9112762..f42e6436b 100644 --- a/web_embedding/ng-flutter/package.json +++ b/web_embedding/ng-flutter/package.json @@ -11,24 +11,24 @@ }, "private": true, "dependencies": { - "@angular/animations": "^21.1.1", - "@angular/cdk": "^21.1.2", - "@angular/common": "^21.1.1", - "@angular/compiler": "^21.1.0", - "@angular/core": "^21.2.0", - "@angular/forms": "^21.1.0", - "@angular/material": "^21.1.1", - "@angular/platform-browser": "^21.2.0", - "@angular/platform-browser-dynamic": "^21.1.2", - "@angular/router": "^21.1.0", + "@angular/animations": "^22.0.2", + "@angular/cdk": "^22.0.0", + "@angular/common": "^22.0.1", + "@angular/compiler": "^22.0.2", + "@angular/core": "^22.0.2", + "@angular/forms": "^22.0.0", + "@angular/material": "^22.0.2", + "@angular/platform-browser": "^22.0.1", + "@angular/platform-browser-dynamic": "^22.0.0", + "@angular/router": "^22.0.1", "rxjs": "~7.8.1", "tslib": "^2.6.2", "zone.js": "~0.15.0" }, "devDependencies": { - "@angular-devkit/build-angular": "^21.1.2", - "@angular/cli": "~21.1.1", - "@angular/compiler-cli": "^21.2.0", + "@angular-devkit/build-angular": "^22.0.1", + "@angular/cli": "~22.0.2", + "@angular/compiler-cli": "^22.0.1", "@types/jasmine": "~6.0.0", "jasmine-core": "~6.0.0", "karma": "~6.4.2",