Skip to content

Commit e5feb64

Browse files
authored
Account for recent codelab removals (#12965)
- Removes the removed codelabs from the `src/data/learning-resources-index/codelabs.yml` that is used to populate https://docs.flutter.dev/reference/learning-resources. - Removes mentions of the removed codelabs where they are mentioned from non-historical docs, like the game toolkit page. - For codelabs linked to from the what's new archive, which is a historical doc, link to a backup on the wayback machine and add a clarification they are archived. Fixes #12953
1 parent 82b149d commit e5feb64

File tree

6 files changed

+18
-229
lines changed

6 files changed

+18
-229
lines changed

firebase.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@
479479
{ "source": "/go/flutter-web-scenelets", "destination": "https://docs.google.com/document/d/1GUAx3aqdtEoaBMTNpsS1-i59QZlwTi6vUCASbaanPCo", "type": 301 },
480480
{ "source": "/go/flutter-wrapped-2025", "destination": "https://docs.google.com/document/d/1cE-oE1ULMeoguPDBKAqWY5AwQOuyZae-NF9v-2YhD9Y/edit?usp=sharing", "type": 301 },
481481
{ "source": "/go/focus-management", "destination": "https://docs.google.com/document/d/1-NS3NJFd2j9kzKj5GOPoWq-G0B6jrpiCL892EX5Nxgk/edit", "type": 301 },
482-
{ "source": "/go/forge2d-workshop", "destination": "https://codelabs.developers.google.com/codelabs/flutter-flame-forge2d#0", "type": 301 },
482+
{ "source": "/go/forge2d-workshop", "destination": "https://web.archive.org/web/20260108140911/https://codelabs.developers.google.com/codelabs/flutter-flame-forge2d", "type": 301 },
483483
{ "source": "/go/form-field-autovalidation", "destination": "https://docs.google.com/document/d/16HAURcOtYAoHntDOEtdGy9KkKSItulG9Ldyjzdaosqo/edit", "type": 301 },
484484
{ "source": "/go/fragment-program-support", "destination": "https://docs.google.com/document/d/1R0qx3znTe_wcKZoeWwkMlgxs1MtrdiPJ_1xiuExZuH0/edit", "type": 301 },
485485
{ "source": "/go/framework-devtool-a11y-support", "destination": "https://docs.google.com/document/d/1lR0QaojgeprwwAy8Ks57rCPKUQOCCRz7Zh3yybKLOsk/edit?usp=sharing", "type": 301 },

src/content/platform-integration/desktop.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -186,12 +186,9 @@ about endorsed plugins, see the following resources:
186186
[How to write a Flutter web plugin, part 2]: {{site.flutter-blog}}/how-to-write-a-flutter-web-plugin-part-2-afdddb69ece6
187187
[Modern Flutter Plugin Development]: {{site.flutter-blog}}/modern-flutter-plugin-development-4c3ee015cf5a
188188

189-
## Samples and codelabs
189+
<a id="samples-and-codelabs" aria-hidden="true"></a>
190190

191-
[Write a Flutter desktop application][]
192-
: A codelab that walks you through building
193-
a desktop application that integrates the GitHub
194-
GraphQL API with your Flutter app.
191+
## Samples
195192

196193
You can run the following samples as desktop apps,
197194
as well as download and inspect the source code to
@@ -219,4 +216,3 @@ Flokk [announcement blogpost][gskinner-flokk-blogpost], [repo][gskinner-flokk-re
219216
[Photo Search app]: {{site.repo.samples}}/tree/main/desktop_photo_search
220217
[gskinner-flokk-repo]: {{site.github}}/gskinnerTeam/flokk
221218
[gskinner-flokk-blogpost]: https://blog.gskinner.com/archives/2020/09/flokk-how-we-built-a-desktop-app-using-flutter.html
222-
[Write a Flutter desktop application]: {{site.codelabs}}/codelabs/flutter-github-client

src/content/release/archive-whats-new.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -642,17 +642,17 @@ The following codelabs have been published since Flutter 3.7:
642642
Discover Dart 3's new records and patterns features.
643643
Learn how you can use them in a Flutter app to help you
644644
write more readable and maintainable Dart code.
645-
* [Building next generation UIs in Flutter][]<br>
645+
* [Building next generation UIs in Flutter][] _(Now archived)_ <br>
646646
Learn how to build a Flutter app that uses the power of `flutter_animate`,
647647
fragment shaders, and particle fields. You will craft a user interface that
648648
evokes those science fiction movies and TV shows we all love
649649
watching when we aren't coding.
650-
* [Create haikus about Google products with the PaLM API and Flutter][]<br> **NEW**
650+
* [Create haikus about Google products with the PaLM API and Flutter][]<br>
651651
Learn how to build an app that uses the PaLM API to generate haikus
652652
based on Google product names. The PaLM API gives you access to Google's
653653
state-of-the-art large language models.
654654

655-
[Building next generation UIs in Flutter]: {{site.codelabs}}/codelabs/flutter-next-gen-uis#0
655+
[Building next generation UIs in Flutter]: https://web.archive.org/web/20251126130753/https://codelabs.developers.google.com/codelabs/flutter-next-gen-uis
656656
[Records and Patterns in Dart 3]: {{site.codelabs}}/codelabs/dart-patterns-records
657657
[Create haikus about Google products with the PaLM API and Flutter]: {{site.codelabs}}/haiku-generator
658658

@@ -782,7 +782,7 @@ We have new codelabs since the last stable release:
782782
The final app is responsive to different screen sizes.
783783
(Note that this codelab replaces the previous "Write
784784
your first Flutter codelab for mobile, part 1 and part 2.")
785-
* [Using FFI in a Flutter plugin][]<br>
785+
* [Using FFI in a Flutter plugin][] _(Now archived)_ <br>
786786
Dart's FFI (foreign function interface) allows Flutter apps
787787
to use of existing native libraries that expose a C API.
788788
Dart supports FFI on Android, iOS, Windows, macOS, and Linux.
@@ -798,7 +798,7 @@ We have new codelabs since the last stable release:
798798
and Google Sign In authorization to a Flutter app. You'll also learn
799799
how to set up a Firebase project,
800800
and use the FlutterFire CLI to initialize Firebase in your Flutter app.
801-
* [Local development for your Flutter apps using the Firebase Emulator Suite][]<br>
801+
* [Local development for your Flutter apps using the Firebase Emulator Suite][] _(Now archived)_ <br>
802802
Learn how to use the Firebase Emulator Suite with Flutter during local development,
803803
including how to use email-password authentication with the Emulator Suite,
804804
and how to read and write data to the Firestore emulator. Also, you'll import
@@ -813,8 +813,8 @@ to reflect the latest available codelabs.
813813
[Add a user authentication flow to a Flutter app using FirebaseUI]: {{site.firebase}}/codelabs/firebase-auth-in-flutter-apps
814814
[Building a game with Flutter and Flame]: {{site.codelabs}}/codelabs/flutter-flame-game
815815
[codelabs & workshops]: /reference/learning-resources
816-
[Local development for your Flutter apps using the Firebase Emulator Suite]: {{site.firebase}}/codelabs/get-started-firebase-emulators-and-flutter
817-
[Using FFI in a Flutter plugin]: {{site.codelabs}}/codelabs/flutter-ffigen
816+
[Local development for your Flutter apps using the Firebase Emulator Suite]: https://web.archive.org/web/20251102002913/https://firebase.google.com/codelabs/get-started-firebase-emulators-and-flutter
817+
[Using FFI in a Flutter plugin]: https://web.archive.org/web/20250908035316/https://codelabs.developers.google.com/codelabs/flutter-ffigen
818818
[Your first Flutter app]: {{site.codelabs}}/codelabs/flutter-codelab-first
819819

820820
**Articles**
@@ -957,15 +957,15 @@ and the [Flutter 3 release notes][].
957957

958958
We have a new codelab since the last stable release:
959959

960-
* [Take your Flutter app from boring to beautiful][]
960+
* [Take your Flutter app from boring to beautiful][] _(Now archived)_ <br>
961961
Learn how to use features in Material 3 to make your
962962
more beautiful _and_ more responsive.
963963

964964
Also, check out the workshops written by our GDEs
965965
and available on the [Flutter community blog][].
966966

967967
[Flutter community blog]: {{site.medium}}/@flutter_community/622b52f70173
968-
[Take your Flutter app from boring to beautiful]: {{site.codelabs}}/codelabs/flutter-boring-to-beautiful
968+
[Take your Flutter app from boring to beautiful]: https://web.archive.org/web/20251204045151/https://codelabs.developers.google.com/codelabs/flutter-boring-to-beautiful
969969

970970
**Videos**
971971

@@ -1351,10 +1351,10 @@ we wrote new codelabs and updated existing codelabs.
13511351
New codelabs include:
13521352

13531353
* [Adding Admob Ads to a Flutter app][]
1354-
* [How to write a Flutter plugin][]
1354+
* [How to write a Flutter plugin][] _(Now archived)_
13551355
* [Multi-platform Firestore Flutter][]
1356-
* [Using a plugin with a Flutter web app][]
1357-
* [Write a Flutter desktop application][]
1356+
* [Using a plugin with a Flutter web app][] _(Now archived)_
1357+
* [Write a Flutter desktop application][] _(Now archived)_
13581358

13591359
For a complete list, see [Flutter codelabs][].
13601360

@@ -1403,7 +1403,7 @@ publication since the last stable release:
14031403
[Flutter Performance Updates in 2019]: {{site.flutter-blog}}/going-deeper-with-flutters-web-support-66d7ad95eb5224
14041404
[Going deeper with Flutter's web support]: {{site.flutter-blog}}/going-deeper-with-flutters-web-support-66d7ad95eb52
14051405
[Handling 404: Page not found error in Flutter]: {{site.flutter-blog}}/handling-404-page-not-found-error-in-flutter-731f5a9fba29
1406-
[How to write a Flutter plugin]: {{site.codelabs}}/codelabs/write-flutter-plugin
1406+
[How to write a Flutter plugin]: https://web.archive.org/web/20250908035316/https://codelabs.developers.google.com/codelabs/flutter-ffigen
14071407
[Managing issues in a large-scale open source project]: {{site.flutter-blog}}/managing-issues-in-a-large-scale-open-source-project-b3be6eecae2b
14081408
[How to debug layout issues with the Flutter Inspector]: {{site.flutter-blog}}/how-to-debug-layout-issues-with-the-flutter-inspector-87460a7b9db
14091409
[Multi-platform Firestore Flutter]: {{site.codelabs}}/codelabs/friendlyeats-flutter/
@@ -1413,11 +1413,11 @@ publication since the last stable release:
14131413
[Two Months of #FlutterGoodNewsWednesday]: {{site.flutter-blog}}/two-months-of-fluttergoodnewswednesday-a12e60bab782
14141414
[ubuntu]: {{site.flutter-blog}}/announcing-flutter-linux-alpha-with-canonical-19eb824590a9
14151415
[Understanding null safety]: {{site.dart-site}}/null-safety/understanding-null-safety
1416-
[Using a plugin with a Flutter web app]: {{site.codelabs}}/codelabs/web-url-launcher/
1416+
[Using a plugin with a Flutter web app]: https://web.archive.org/web/20230927112932/https://codelabs.developers.google.com/codelabs/web-url-launcher
14171417
[web-perf]: {{site.flutter-blog}}/improving-perceived-performance-with-image-placeholders-precaching-and-disabled-navigation-6b3601087a2b
14181418
[What's new with the Slider widget?]: {{site.flutter-blog}}/whats-new-with-the-slider-widget-ce48a22611a3
14191419
[What we learned from the Flutter Q2 2020 survey]: {{site.flutter-blog}}/what-we-learned-from-the-flutter-q2-2020-survey-a4f1fc8faac9
1420-
[Write a Flutter desktop application]: {{site.codelabs}}/codelabs/flutter-github-graphql-client/
1420+
[Write a Flutter desktop application]: https://web.archive.org/web/20250908033205/https://codelabs.developers.google.com/codelabs/flutter-github-client
14211421

14221422
## 06 May 2020: Work-From-Home: 1.17 release
14231423

src/content/resources/games-toolkit.md

Lines changed: 0 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ showBreadcrumbs: false
88
The Flutter Casual Games Toolkit pulls together new and existing resources
99
so you can accelerate development of games on mobile platforms.
1010

11-
:::recommend
12-
Check out the latest [game updates and resources for Flutter 3.22](#updates)!
13-
:::
14-
1511
This page outlines where you can find these available resources.
1612

1713
## Why Flutter for games?
@@ -126,8 +122,6 @@ Are you ready? To get started:
126122

127123
* Build a [multiplayer game][multiplayer-recipe] with Cloud Firestore.
128124
* Build a [word puzzle][] with Flutter.
129-
* Build a [2D physics game][] with Flutter and Flame.
130-
* [Add sound and music][] to your Flutter game with SoLoud.
131125
* Make your games more engaging
132126
with [leaderboards and achievements][leaderboard-recipe].
133127
* Monetize your games with [in-game ads][ads-recipe]
@@ -141,8 +135,6 @@ Are you ready? To get started:
141135
1. Write your game!
142136
1. Deploy to both the Google Play and Apple stores.
143137

144-
[Add sound and music]: {{site.codelabs}}/codelabs/flutter-codelab-soloud
145-
[2D physics game]: {{site.codelabs}}/codelabs/flutter-flame-forge2d
146138
[word puzzle]: {{site.codelabs}}/codelabs/flutter-word-puzzle
147139

148140
## Example games
@@ -198,7 +190,6 @@ investigate other resources that our community recommended.
198190

199191
<Icon id="package_2" title="Flutter package"></Icon> [audioplayers][]<br>
200192
<Icon id="package_2" title="Flutter package"></Icon> [flutter_soloud][]<br>
201-
<Icon id="science" title="Codelab"></Icon> [Add sound and music to your Flutter game with SoLoud][]
202193

203194
</td>
204195
</tr>
@@ -281,15 +272,6 @@ investigate other resources that our community recommended.
281272
</td>
282273
</tr>
283274

284-
<tr>
285-
<td>Legacy code</td>
286-
<td>
287-
288-
<Icon id="science" title="Codelab"></Icon> [Use the Foreign Function Interface in a Flutter plugin][]
289-
290-
</td>
291-
</tr>
292-
293275
<tr>
294276
<td>Level editor</td>
295277
<td>
@@ -336,7 +318,6 @@ investigate other resources that our community recommended.
336318
<td>User Experience</td>
337319
<td>
338320

339-
<Icon id="science" title="Codelab"></Icon> [Build next generation UIs in Flutter][]<br>
340321
<Icon id="quick_reference_all" title="Guide"></Icon> [Best practices for optimizing Flutter web loading speed][]
341322

342323
</td>
@@ -369,14 +350,12 @@ investigate other resources that our community recommended.
369350
[runner-template]: {{site.repo.games}}/tree/main/templates/endless_runner
370351

371352
[Add AdMob ads to a Flutter app]: {{site.codelabs}}/codelabs/admob-ads-in-flutter
372-
[Build next generation UIs in Flutter]: {{site.codelabs}}/codelabs/flutter-next-gen-uis
373353
[firebase-crashlytics]: {{site.firebase}}/docs/crashlytics/get-started?platform=flutter
374354
[ads-recipe]: /cookbook/plugins/google-mobile-ads
375355
[iap-recipe]: {{site.codelabs}}/codelabs/flutter-in-app-purchases#0
376356
[leaderboard-recipe]: /cookbook/games/achievements-leaderboard
377357
[multiplayer-recipe]: /cookbook/games/firestore-multiplayer
378358
[firebase-auth]: {{site.firebase}}/codelabs/firebase-auth-in-flutter-apps#0
379-
[Use the Foreign Function Interface in a Flutter plugin]: {{site.codelabs}}/codelabs/flutter-ffigen
380359
[bonfire-pkg]: {{site.pub}}/packages/bonfire
381360
[CraftPix]: https://craftpix.net
382361
[Add Firebase to your Flutter game]: {{site.firebase}}/docs/flutter/setup
@@ -402,56 +381,7 @@ investigate other resources that our community recommended.
402381
[web]: https://superdash.flutter.dev/
403382
[Tiled]: https://www.mapeditor.org/
404383
[flutter_soloud]: {{site.pub-pkg}}/flutter_soloud
405-
[SoLoud codelab]: {{site.codelabs}}/codelabs/flutter-codelab-soloud
406-
407-
## Games Toolkit updates for Flutter 3.22 {:#updates}
408-
409-
The following codelabs and guides were added for
410-
the Flutter 3.22 release:
411-
412-
**Low-latency, high-performance sound**
413-
: In collaboration with the Flutter community ([@Marco Bavagnoli][]),
414-
we've enabled the SoLoud audio engine.
415-
This free and portable engine delivers the low-latency and
416-
high-performance sound that's essential for many games.
417-
To help you get started, check out the codelab,
418-
[Add sound and music to your Flutter game with SoLoud][],
419-
dedicated to adding sound and music to your game.
420-
421-
**Word puzzle games**
422-
: Check out the codelab,
423-
[Build a word puzzle with Flutter][],
424-
focused on building word puzzle games.
425-
This genre is perfect for exploring Flutter's UI capabilities,
426-
and this codelab dives into using Flutter's background processing
427-
to effortlessly generate expansive crossword-style grids of
428-
interlocking words without compromising the user experience.
429-
430-
**Forge 2D physics engine**
431-
: The Forge2D codelab,
432-
[Build a 2D physics game with Flutter and Flame][],
433-
guides you through crafting game mechanics in a
434-
Flutter and Flame game using a 2D physics simulation
435-
along the lines of Box2D, called [Forge2D][].
436-
437-
**Optimize loading speed for Flutter web-based games**
438-
: In the fast-paced world of web-based gaming,
439-
a slow-loading game is a major deterrent.
440-
Players expect instant gratification and will
441-
quickly abandon a game that doesn't load promptly.
442-
Hence, we've published a guide,
443-
[Best practices for optimizing Flutter web loading speed][],
444-
authored by [Cheng Lin][],
445-
to help you optimize your Flutter web-based games
446-
and apps for lightning-fast loading speeds.
447-
448-
[@Marco Bavagnoli]: {{site.github}}/alnitak
449-
[Add sound and music to your Flutter game with SoLoud]: {{site.codelabs}}/codelabs/flutter-codelab-soloud
450384
[Best practices for optimizing Flutter web loading speed]: {{site.flutter-blog}}/best-practices-for-optimizing-flutter-web-loading-speed-7cc0df14ce5c
451-
[Build a word puzzle with Flutter]: {{site.codelabs}}/codelabs/flutter-word-puzzle
452-
[Build a 2D physics game with Flutter and Flame]: {{site.codelabs}}/codelabs/flutter-flame-forge2d
453-
[Cheng Lin]: {{site.medium}}/@mhclin113_26002
454-
[Forge2D]: {{site.pub-pkgs}}/forge2d
455385

456386
## Other resources
457387

src/content/testing/overview.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ The more features your app has, the harder it is to test manually.
88
Automated tests help ensure that your app performs correctly before
99
you publish it, while retaining your feature and bug fix velocity.
1010

11-
:::note
12-
For hands-on practice of testing Flutter apps, see the
13-
[How to test a Flutter app][] codelab.
14-
:::
15-
1611
Automated testing falls into a few categories:
1712

1813
* A [_unit test_](#unit-tests) tests a single function, method, or class.
@@ -130,7 +125,6 @@ integration services, see the following:
130125
[Codemagic CI/CD for Flutter]: https://blog.codemagic.io/getting-started-with-codemagic/
131126
[Continuous delivery using fastlane with Flutter]: /deployment/cd#fastlane
132127
[Flutter CI/CD with Bitrise]: https://devcenter.bitrise.io/en/getting-started/quick-start-guides/getting-started-with-flutter-apps
133-
[How to test a Flutter app]: {{site.codelabs}}/codelabs/flutter-app-testing
134128
[Test Flutter apps on Appcircle]: https://blog.appcircle.io/article/flutter-ci-cd-github-ios-android-web#
135129
[Test Flutter apps on Cirrus]: https://cirrus-ci.org/examples/#flutter
136130
[Test Flutter apps on Travis]: {{site.flutter-blog}}/test-flutter-apps-on-travis-3fd5142ecd8c

0 commit comments

Comments
 (0)