Conversation
- Align Custom and Transformative Preview examples with recent PreviewThemeData API changes in docs. - Added appropriate Screenshot and GIF for visual reference
|
Is Official Dart repo does provide |
|
Yes, I am familiar with those features. Using Primary Constructors and dot-shorthand is an excellent way to keep the documentation examples modern and concise, aligning with current Dart best practices. They are indeed the correct, idiomatic ways to represent these definitions in modern Dart. |
|
Staged preview of the updated docs.flutter.dev site (updated for commit ec9b098): https://flutter-docs-prod--docs-pr13861-fix-13799-m9lmfd1o.web.app |
|
Staged preview of the updated flutter.dev site (updated for commit ec9b098): https://flutter-dev-230821--www-pr13861-fix-13799-8ssrrdlm.web.app |
|
Hi @maranix, thanks for sending this in to address #13799! A few quick initial notes from triage: Please review and check off the items in the Presubmit checklist in the PR description. |
Re-ran tests and built the docs website along with Thanks and let me know if there is anything else is required. |
|
/gcbrun |
|
Is it just me, or is the bot sounding huffy when questioned? |
|
@parlough, isn't the website build using the latest version of Dart, namely 3.13? |
Fixes #13799
Align Custom and Transformative Preview examples with recent PreviewThemeData API changes in docs.
Added appropriate Screenshot and GIF for visual reference
Presubmit checklist
of 80 characters or fewer.