Skip to content

Updating the genui docs to match the current version#13280

Merged
sfshaza2 merged 4 commits intomainfrom
genui-0.8.0-updates
Apr 20, 2026
Merged

Updating the genui docs to match the current version#13280
sfshaza2 merged 4 commits intomainfrom
genui-0.8.0-updates

Conversation

@sfshaza2
Copy link
Copy Markdown
Contributor

@sfshaza2 sfshaza2 commented Apr 15, 2026

As it says. Thanks to a heads up from @abdallahshaban557!

@sfshaza2 sfshaza2 requested a review from a team as a code owner April 15, 2026 22:36
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

This pull request updates the GenUI documentation to reflect API changes in the Conversation, A2uiTransportAdapter, and PromptBuilder classes, including parameter renames and a shift to stream-based event handling. Review feedback highlighted several issues in the code examples, such as incorrect initialization order, an invalid model name, and a type mismatch when creating user messages.

Comment thread src/content/ai/genui/get-started.md Outdated
Comment thread src/content/ai/genui/get-started.md Outdated
@flutter-website-bot
Copy link
Copy Markdown
Collaborator

flutter-website-bot commented Apr 15, 2026

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

https://flutter-docs-prod--pr13280-genui-0-8-0-updates-71z68an7.web.app

@sfshaza2 sfshaza2 requested a review from gspencergoog April 15, 2026 22:49
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.

Looks good to me after accounting for my comments and any suggestions from Greg. Thanks!!

Comment thread src/content/ai/genui/get-started.md Outdated
Comment thread src/content/ai/genui/get-started.md Outdated
sfshaza2 and others added 2 commits April 20, 2026 11:54
Co-authored-by: Parker Lougheed <parlough@gmail.com>
I can't believe that I missed "may"!!!

Co-authored-by: Parker Lougheed <parlough@gmail.com>
@sfshaza2
Copy link
Copy Markdown
Contributor Author

Ah. I see that @gspencergoog is OOO for the next 2 weeks. Since I know that the current docs are wrong and @parlough has done at least a cursory review. I'm going to go ahead and land once the bot is happy.

@sfshaza2 sfshaza2 merged commit bf659d3 into main Apr 20, 2026
10 checks passed
@sfshaza2 sfshaza2 deleted the genui-0.8.0-updates branch April 20, 2026 19:02
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