[feat] Programmatically submit a user prompt (and optional attachments)
@csells is already working on this.
Since Mar 22, 2025.
Assessment
This issue has not been assessed yet.
Description
I think it'd be great if the chat exposed a controller for more flexible handling of the following scenarios:
- Attaching files (For example ClipboardData) - right now this is possible with a custom messageSender, but the files aren't visible in the chat before submission
- Call sendMessage programmatically. For example there might be predefined prompts, which should be executed on click.
- Manage focus of the Chats Input. Especially on Desktop there are Scenarios, where manual focus management might be required (Also the current approach behaves kinda weird)
- Dominant language
- Dart
- Stars
- 288
- Forks
- 93
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from flutter/ai
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
-
waiting for customer response
Difficulty 1/5 Under an hour Newbie friendliness 70/100
-
Loan appOpen
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
IDX -> AntigravitiyMay be free again @rodydavis claimed this 124 days ago, and no pull request is open. Open
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
rokwire/illinois-app#6060 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
openfoodfacts/smooth-app#7817 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
lollipopkit/flutter_server_box#1627 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day