Skip to content

Update fwe samples (pt2 of 3) - Resubmission#13196

Merged
parlough merged 21 commits intomainfrom
resubmit-13156
Apr 18, 2026
Merged

Update fwe samples (pt2 of 3) - Resubmission#13196
parlough merged 21 commits intomainfrom
resubmit-13156

Conversation

@lamek
Copy link
Copy Markdown
Contributor

@lamek lamek commented Mar 18, 2026

This resubmits PR #13156, and integrates fixes to resolve the reverted compilation issues, JSON decoding cast warnings, and immutable data class best practices.

@lamek lamek requested review from a team and sfshaza2 as code owners March 18, 2026 19:57
@lamek
Copy link
Copy Markdown
Contributor Author

lamek commented Mar 18, 2026

@parlough Ok - I've updated the code and resubmitted this. PTAL.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

The pull request successfully addresses compilation issues, JSON decoding cast warnings, and incorporates immutable data class best practices as outlined in the description. The changes primarily involve updating code examples and tutorial content to reflect these improvements, ensuring consistency and correctness across the project files. However, there are a few areas where further refinement can enhance code quality and tutorial clarity.

Comment thread examples/fwe/wikipedia_reader/lib/main.dart Outdated
Comment thread examples/fwe/wikipedia_reader/lib/step4_main.dart Outdated
Comment thread examples/fwe/wikipedia_reader/lib/summary.dart
Comment thread src/content/learn/pathway/tutorial/listenable-builder.md Outdated
Comment thread src/content/learn/pathway/tutorial/set-up-state-project.md
@flutter-website-bot
Copy link
Copy Markdown
Collaborator

flutter-website-bot commented Mar 18, 2026

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

https://flutter-docs-prod--pr13196-resubmit-13156-tebo9iok.web.app

@parlough parlough self-requested a review March 19, 2026 11:22
@parlough parlough self-assigned this Mar 19, 2026
Copy link
Copy Markdown
Member

@parlough parlough left a comment

Choose a reason for hiding this comment

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

Thanks for coming back to this @lamek! I appreciate it :D

The other files look good to me, but the steps and code snippets don't align in listenable-builder.md yet. I left comments on the first few cases, but it continues on from there.

Let me know if you have any questions, hit any issues, or would like to go through it together. Thanks again!

Also don't worry about it for this PR, but I imagine we can reuse the same file for more steps. Docregions can be opened and closed multiple times within the same file. When I have time, I'll open a PR consolidating some excerpts with some examples.

Comment thread src/content/learn/pathway/tutorial/change-notifier.md Outdated
Comment thread src/content/learn/pathway/tutorial/listenable-builder.md Outdated
Comment thread src/content/learn/pathway/tutorial/listenable-builder.md Outdated
Comment thread src/content/learn/pathway/tutorial/listenable-builder.md Outdated
Comment thread src/content/learn/pathway/tutorial/listenable-builder.md
Comment thread examples/fwe/wikipedia_reader/lib/main.dart Outdated
Comment thread examples/fwe/wikipedia_reader/analysis_options.yaml Outdated
Comment thread examples/fwe/wikipedia_reader/lib/summary.dart Outdated
Comment thread examples/fwe/wikipedia_reader/lib/summary.dart
Comment thread examples/fwe/wikipedia_reader/lib/summary.dart Outdated
parlough

This comment was marked as duplicate.

@parlough parlough assigned lamek and unassigned parlough Mar 20, 2026
Copy link
Copy Markdown
Member

@parlough parlough left a comment

Choose a reason for hiding this comment

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

Thanks for coming back to this Kevin! Looks good to me. Do note I pushed some additional changes:

  • Incorporated your changes from the other PR.
  • Reduced some of the changes from the listenable-builder lesson to keep the related instructions accurate and this PR smaller and easier to review. With the excerpts in place we can revisit further changes as follow up.
  • Fixed a few lints.
  • Cleaned up the Dart API doc comments in a few snippets.

Let me know if you have any concerns or questions about those changes. I have some follow up changes I plan to work on as well so happy to address them as part of that.

@parlough parlough merged commit f1fcc83 into main Apr 18, 2026
10 checks passed
@parlough parlough deleted the resubmit-13156 branch April 18, 2026 22:34
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.

3 participants