Skip to content

Commit 0d27b4f

Browse files
MaryaBelangerparlough
andauthoredDec 22, 2023
Remove multi-file DartPad usages from cheatsheet (#5392)
Part of #5382 - The tests feature contained `main` for each example, but that features being removed. The examples need `main` to run, and also are not helpful without the feedback that the tests provided, so we're adding the tests to code visible in each dartpad. - Comment at the top of each that this part is tests, don't edit - Will have to adjust the tests for more useful messages to users. - Since `main` is a big focus now, add a new section on the `main` function at the top of the cheatsheet. - Also remove hint and solution feature and place in expandable "solution" section under each example. - Rewrite the intro section to explain the new way the page works. --------- Co-authored-by: Parker Lougheed <parlough@gmail.com>
1 parent 4cfe6cc commit 0d27b4f

File tree

3 files changed

+530
-580
lines changed

3 files changed

+530
-580
lines changed
 

‎Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ RUN set -eu; \
3535
case "$(dpkg --print-architecture)_${DART_CHANNEL}" in \
3636
# BEGIN dart-sha
3737
amd64_stable) \
38-
DART_SHA256="3a1903a8743422e13e93fb3f497c179fab5658ae32b9151a7baee3158461e0a5"; \
38+
DART_SHA256="7604c091455b7c3e4b3f52a5966b07f4accb657954c54257fe84cddfc77379ae"; \
3939
SDK_ARCH="x64";; \
4040
arm64_stable) \
41-
DART_SHA256="dcf3c8116070c77f2376cbbd5229712a4e6874ef66438c0611e2ef23f69b2862"; \
41+
DART_SHA256="5a3084385df7014fea762fbb8cb985364f65a041a1446db6955cdac670cc8038"; \
4242
SDK_ARCH="arm64";; \
4343
amd64_beta) \
4444
DART_SHA256="24fee21a8e378050b0b0611602f674059d5a93bb09a560539857e384f1b83056"; \
@@ -47,10 +47,10 @@ RUN set -eu; \
4747
DART_SHA256="f86de4ab4f99a2dbdc6a0809acaae40a280fa3cbac340bbdf910cf7f0085dcbb"; \
4848
SDK_ARCH="arm64";; \
4949
amd64_dev) \
50-
DART_SHA256="e60a993dac5c4f01d6069d664a041bad85aaa83d6a07617191a4fe216d86ccac"; \
50+
DART_SHA256="439b0c5d0774eccffb09ec84405685eb7d1c4ab0f2207ff6b86add0ed7d8c457"; \
5151
SDK_ARCH="x64";; \
5252
arm64_dev) \
53-
DART_SHA256="53a86edef253e690a72a365a9564a9f08571804d999b06e177a3b04a2476c659"; \
53+
DART_SHA256="c711a28fc49319a4a8b0e004c7542266ab13fd2f093344d326b509d014ef6d79"; \
5454
SDK_ARCH="arm64";; \
5555
# END dart-sha
5656
esac; \

‎src/_data/pkg-vers.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"doc-path": "install",
44
"channel": "stable",
55
"prev-vers": "2.19.6",
6-
"vers": "3.2.3"
6+
"vers": "3.2.4"
77
}
88
}

‎src/codelabs/dart-cheatsheet.md

+525-575
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.