Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[feat] Programmatically submit a user prompt (and optional attachments)

Đang mở
#39 19 bình luận 0 reaction 1 người được giao Xem trên GitHub

@csells đang làm issue này rồi.

Từ ngày 22/3/2025.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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)
Ngôn ngữ chính
Dart
Star
292
Fork
93
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của flutter/ai

Tất cả issue của flutter/ai

Issue tương tự

Thêm issue về Dart

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.