Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove multi-file DartPad usages from cheatsheet (dart-lang#5392)
Part of dart-lang#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 <[email protected]>
- Loading branch information