Skip to content

Adding Flutter quickstart.#1935

Open
jwill wants to merge 7 commits into
a2ui-project:mainfrom
jwill:flutter-quickstart
Open

Adding Flutter quickstart.#1935
jwill wants to merge 7 commits into
a2ui-project:mainfrom
jwill:flutter-quickstart

Conversation

@jwill

@jwill jwill commented Jul 7, 2026

Copy link
Copy Markdown

Description

Adds flutter version of the quickstart per eng request. Fixed naming issue to make flutter run ... work again to match instructions in readmes. Changed agent model fallthrough to 3.1-flash-lite which is less throttled during times of high usage.

List which issues are fixed by this PR. For larger changes, raising an issue first helps reduce redundant work.

Pre-launch Checklist

One time:

For this PR:

  • I have added updates to the CHANGELOG.
  • I updated/added relevant documentation.
  • My code changes (if any) have tests.
  • If my branch is on fork, I have verified that scripts/e2e_test.sh passes.

If you need help, consider asking for advice on the discussion board.

jwill added 2 commits July 6, 2026 18:29
Fixed naming issue to make `flutter run ...` work again to match instructions in readmes.
Changed agent default to 3.1-flash-lite which is less throttled during times of high usage.

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

Copy link
Copy Markdown
Contributor

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 introduces a new Flutter quickstart guide, updates the default Gemini model in the restaurant finder agent to gemini-3.1-flash-lite, and corrects an import path in the end-to-end tests. The review feedback highlights several issues in the new documentation, such as an unresolved placeholder in a directory path, incorrect step numbering, a copy-paste error referring to the Lit client, an inapplicable troubleshooting section about port 5173, and a typo ('Fluttr').

Comment thread docs/quickstart-flutter.md Outdated
Comment thread docs/quickstart-flutter.md Outdated
Comment thread docs/quickstart-flutter.md Outdated

### Other Languages and Frameworks

While this guide uses the Lit client as an example, A2UI provides samples for other popular frameworks in the `samples/client` directory:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

This guide is for the Flutter client, but the text mentions "While this guide uses the Lit client as an example". This appears to be a copy-paste error from the Lit quickstart and should be updated to refer to the Flutter client.

While this guide uses the Flutter client as an example, A2UI provides samples for other popular frameworks in the `samples/client` directory:

Comment thread docs/quickstart-flutter.md Outdated
Comment on lines +191 to +193
### Port Already in Use

If port 5173 is already in use, the dev server will automatically try the next available port. Check the terminal output for the actual URL.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

This troubleshooting section mentions port 5173, which is the default port for Vite-based clients (like Lit, React, or Angular). Since this guide is for the Flutter client, which does not use Vite or port 5173, this section is not applicable and should be removed.

Comment thread docs/quickstart-flutter.md Outdated
Want to see how it works? Check out:

- **Agent Code**: `samples/agent/adk/restaurant_finder/` — The Python A2A agent
- **Client Code**: `samples/client/flutter/` — The Fluttr web client with A2UI renderer

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

There is a typo in this line: "Fluttr" should be "Flutter".

- **Client Code**: `samples/client/flutter/` — The Flutter web client with A2UI renderer

jwill and others added 5 commits July 6, 2026 20:34
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: James Williams <66931+jwill@users.noreply.github.com>
Signed-off-by: James Williams <66931+jwill@users.noreply.github.com>
Removed troubleshooting section about port usage.

Signed-off-by: James Williams <66931+jwill@users.noreply.github.com>
Signed-off-by: James Williams <66931+jwill@users.noreply.github.com>
@ditman
ditman self-requested a review July 7, 2026 19:39
@ditman

ditman commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Thanks @jwill! I'll take a look at this later today/tomorrow!

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.

2 participants