Skip to content

Commit 42150d2

Browse files
parloughTony Sansone
authored and
Tony Sansone
committed
Remove null safety codelab for now (dart-lang#5539)
Removes the null safety codelab and references to it. In a few days, I will follow up soon with some new samples on the cheatsheet to replace this. This codelab is the least viewed on the site and no longer makes sense to separate from other language learning. As mentioned, I will follow up with a few new samples on the cheatsheet as a stop-gap until we implement a consolidated new-learner experience. Contributes to dart-lang#5382 Contributes to dart-lang#4603 Closes dart-lang#3093
1 parent 8c90e5b commit 42150d2

File tree

6 files changed

+9
-569
lines changed

6 files changed

+9
-569
lines changed

firebase.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
{ "source": "/cl", "destination": "https://dart-review.googlesource.com/q/status:open+-is:wip", "type": 301 },
8383
{ "source": "/cl/:rest*", "destination": "https://dart-review.googlesource.com/c/sdk/+/:rest*", "type": 301 },
8484
{ "source": "/cloud{,/**}", "destination": "/server/google-cloud", "type": 301 },
85+
{ "source": "/codelabs/null-safety{,/**}", "destination": "/null-safety/understanding-null-safety", "type": 301 },
8586
{ "source": "/codelabs/server{,/**}", "destination": "/tutorials/server/httpserver", "type": 301 },
8687
{ "source": "/code-of-conduct", "destination": "/community/code-of-conduct", "type": 301 },
8788
{ "source": "/concurrency", "destination": "/language/concurrency", "type": 301 },
@@ -225,7 +226,7 @@
225226
{ "source": "/mailing-list", "destination": "https://groups.google.com/a/dartlang.org/forum/#!forum/misc", "type": 301 },
226227
{ "source": "/mobile", "destination": "/multiplatform-apps", "type": 301 },
227228
{ "source": "/news{,/**}", "destination": "https://medium.com/dartlang", "type": 301 },
228-
{ "source": "/null-safety/tour", "destination": "/codelabs/null-safety", "type": 301 },
229+
{ "source": "/null-safety/tour", "destination": "/null-safety/understanding-null-safety", "type": 301 },
229230
{ "source": "/observatory{,/**}", "destination": "/tools/dart-devtools", "type": 301 },
230231
{ "source": "/packages", "destination": "https://pub.dev", "type": 301 },
231232
{ "source": "/platforms", "destination": "/overview#platform", "type": 301 },

src/_data/side-nav.yml

-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
permalink: /codelabs/iterables
1717
- title: Asynchronous programming
1818
permalink: /codelabs/async-await
19-
- title: Null safety
20-
permalink: /codelabs/null-safety
2119
- title: Language
2220
expanded: false
2321
children:

src/content/codelabs/index.md

-4
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ Discover Dart 3's new records and patterns features.
3131
Learn how you can use them in a Flutter app to help you
3232
write more readable and maintainable Dart code.
3333

34-
### [Null safety](/codelabs/null-safety)
35-
36-
Use DartPad to learn about Dart's null-safe type system.
37-
3834
## Flutter
3935

4036
To learn about Flutter, try one of the

0 commit comments

Comments
 (0)