Skip to content

Add barrierBuilder support to Material dialogs - #190393

Closed
Mairramer wants to merge 1 commit into
flutter:masterfrom
Mairramer:add-barrier-builder-material
Closed

Mairramer wants to merge 1 commit into
flutter:masterfrom
Mairramer:add-barrier-builder-material

Conversation

@Mairramer

Copy link
Copy Markdown
Contributor

This adds barrierBuilder to showDialog, showAdaptiveDialog, and DialogRoute, continuing PR #187992.

Closes #21039

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

If this change needs to override an active code freeze, provide a comment explaining why. The code freeze workflow can be overridden by code reviewers. See pinned issues for any active code freezes with guidance.

Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

This adds barrierBuilder to showDialog, showAdaptiveDialog, and DialogRoute as requested in PR flutter#187992.
@github-actions github-actions Bot added framework flutter/packages/flutter repository. See also f: labels. p: material_ui material_ui package in flutter/packages labels Aug 1, 2026
@Mairramer

Copy link
Copy Markdown
Contributor Author

Ported to flutter/packages#12509.

@Mairramer Mairramer closed this Aug 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

framework flutter/packages/flutter repository. See also f: labels. p: material_ui material_ui package in flutter/packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ModalRoute / ModalBarrier customization

1 participant