[Skill idea] flutter-create-bottom-sheet-flow — scaffold a typed-result bottom sheet
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- dart
- Lĩnh vực
- mobile-dev
Hướng nghiên cứu
Bắt đầu bằng cách xem xét roadmap của Navigation and Routing và skill flutter-implement-imperative-navigation hiện có, sau đó so sánh cấu trúc của chúng với flow bottom-sheet được đề xuất. Công việc được xem là hoàn tất khi có một skill tập trung bao quát kết quả có kiểu, quản lý chiều cao, cấu hình dismissal và drag, cùng wiring ở phía caller, với cấu trúc template được tham chiếu được cung cấp hoặc ghi lại trong tài liệu.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Environment
- Language model: Claude Opus 4.7
- Agent harness: Claude Code
- Project type: Production Flutter app
Problem
Bottom sheets are one of the most common UX patterns in production Flutter apps, and one of the most frequently misimplemented:
- Wrong route type (
MaterialPageRouteinstead of a transparent route) - Missing typed result on close (forcing callers to
dynamic-cast) - Height management mistakes (
fitToContentvsheightFactor, max-height clamping) isDismissible/enableDrag/useSafeAreadefaults inconsistent across the app
The current Navigation/Routing roadmap has flutter-implement-imperative-navigation (P1) and flutter-setup-declarative-routing (published), but no skill addresses the bottom-sheet flow specifically.
Proposed skill
Name: flutter-create-bottom-sheet-flow
Description (draft):
Scaffold a bottom sheet route with typed
popresult, height management (fitToContentvs fractional height), and dismissible/drag configuration. Use when adding a modal flow that returns data to its caller, such as a confirmation, picker, or detail panel.
Decisions the skill captures:
- Typed
Resultclass vs nullable return fitToContent(max 70% height recommended) vs fixedheightFactorisDismissible+enableDragpolicy- Caller-side wiring (how the parent ViewModel triggers and consumes the result)
Why a dedicated skill
Bottom sheets sit at the intersection of routing + UI + state contract. A general "navigation" skill won't cover the result-typing and height-management decisions specific to sheets. Doing it as a separate skill keeps both skills small and focused.
Real-world reference
We maintain this as an internal skill and it eliminated a recurring class of "sheet pops dynamic, caller crashes" bugs. Happy to share the template structure.
Roadmap fit
Sits in the Navigation and Routing category alongside flutter-implement-imperative-navigation.
- Ngôn ngữ chính
- Dart
- Star
- 3k
- Fork
- 180
- Merge trung bình
- 5 ngày 29 phút
- Pull request đã merge (30 ngày)
- 6
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của flutter/agent-plugins
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
flutter/agent-plugins#239 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
flutter/agent-plugins#233 ·
-
Linter
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
flutter/agent-plugins#165 ·
-
Documentation P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
flutter/agent-plugins#100 ·
-
Linter P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
flutter/agent-plugins#92 ·
Tất cả issue của flutter/agent-plugins
Issue tương tự
-
[Super Editor][Chat] - Floating editor scaffold does not reset panel height after closing panel Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
status: needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
a2ui-project/a2ui#2763 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
AOSSIE-Org/Ell-ena#332 ·
-
ui/ux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
HemantKArya/BloomeeTunes#489 ·