Skip to content

feat: barrier dismissible feature implemented#467

Open
Romanbot4 wants to merge 1 commit into
jamesblasco:mainfrom
Romanbot4:feat/barrier_dismissible
Open

feat: barrier dismissible feature implemented#467
Romanbot4 wants to merge 1 commit into
jamesblasco:mainfrom
Romanbot4:feat/barrier_dismissible

Conversation

@Romanbot4
Copy link
Copy Markdown

Add isBarrierDismissible support to modal bottom sheets

  • showCustomModalBottomSheet
  • showMaterialModalBottomSheet
  • showCupertinoModalBottomSheet
  • showBarModalBottomSheet

Default value is false to preserve existing behavior

Motivation

Previously, barrier dismissal behavior was implicit or coupled with other properties (such as isDismissible or expand). This change provides explicit and consistent control across Material, Cupertino, and custom modal bottom sheets.

Backward compatibility

This change is backward compatible. Existing behavior remains unchanged unless isBarrierDismissible is explicitly set.

Example

showMaterialModalBottomSheet(
  context: context,
  isBarrierDismissible: true,
  ...
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant