Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Skill idea] flutter-create-bottom-sheet-flow — scaffold a typed-result bottom sheet

Open
#109 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
dart
Domain
mobile-dev

Research direction

Start by reviewing the Navigation and Routing roadmap and the existing flutter-implement-imperative-navigation skill, then compare their structure with the proposed bottom-sheet flow. Done means a focused skill covering typed results, height management, dismissal and drag configuration, and caller-side wiring, with the referenced template structure supplied or documented.

Written by the indexing model from the issue text.

Description

P2 Skill

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 (MaterialPageRoute instead of a transparent route)
  • Missing typed result on close (forcing callers to dynamic-cast)
  • Height management mistakes (fitToContent vs heightFactor, max-height clamping)
  • isDismissible / enableDrag / useSafeArea defaults 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 pop result, height management (fitToContent vs 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 Result class vs nullable return
  • fitToContent (max 70% height recommended) vs fixed heightFactor
  • isDismissible + enableDrag policy
  • 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.

Dominant language
Dart
Stars
3k
Forks
180
Avg merge
5d 29m
Merged PRs (30d)
6

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from flutter/agent-plugins

All issues in flutter/agent-plugins

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.