Skip to content

Conversation

@parlough
Copy link
Member

@parlough parlough commented May 6, 2022

Documents the new Enhanced enums feature along with some other adjustments and additions to enum documentation, primarily in the language tour. I tried to find a balance of documenting some features but not repeating too much from the various classes sections as there is a lot of overlap.

Beyond that, we did not document enums at all in the language samples. With enums now expanded functionality, this PR also introduces some enum samples there as well.

Staged:

Closes #3699

Note test failures are expected due to 2.17 not hitting stable yet.

@mit-mit
Copy link
Member

mit-mit commented May 6, 2022

Conceptually this looks great! Adding @lrhn for a technical review.

@mit-mit mit-mit requested a review from lrhn May 6, 2022 12:26
Copy link
Collaborator

@sfshaza2 sfshaza2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Muah! (Aka, the chef who kisses her fingers for a perfect dish.) Here is some clarification for "which" vs "that": https://www.quickanddirtytips.com/education/grammar/which-versus-that-0
Please do apply the changes, but it looks great!!

Co-authored-by: Shams Zakhour (ignore Sfshaza) <[email protected]>
@parlough parlough marked this pull request as ready for review May 11, 2022 15:11
@parlough parlough force-pushed the feature/enhanced-enums branch from 62f8c92 to bcbad14 Compare May 11, 2022 15:19
@github-actions
Copy link

github-actions bot commented May 11, 2022

Visit the preview URL for this PR (updated for commit bcbad14):

https://dart-dev--pr4026-feature-enhanced-enu-sjg5f9zr.web.app

(expires Wed, 18 May 2022 15:30:56 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

@parlough parlough merged commit 1ac3bc1 into main May 11, 2022
@parlough parlough deleted the feature/enhanced-enums branch May 11, 2022 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

documentation for enhanced enums

5 participants