flutter-tap-outside-dismiss

Community

Close overlays by tapping outside with Flutter.

Authortoly1994328
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill provides a zero-boilplate approach for dismissing overlays by detecting taps outside a defined region in Flutter, enabling a natural and intuitive user experience when using sidebars, dropdowns, and popups.

Core Features & Use Cases

  • Built-in TapRegion support to detect outside taps without needing extra overlays
  • Grouping with groupId to prevent inner interactions from triggering a close
  • No artificial masking required; works for sidebars, menus, and custom panels
  • Requires Flutter 3.10+; leverages the native TapRegion widget

Quick Start

Instantiate a TapRegion around your panel and supply onTapOutside to dismiss it when the user taps outside.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: flutter-tap-outside-dismiss
Download link: https://github.com/toly1994328/flash_im_by_ai/archive/main.zip#flutter-tap-outside-dismiss

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.