woltapp / wolt_modal_sheet

This package provides a responsive modal with multiple pages, motion animation for page transitions, and scrollable content within each page.
MIT License
511 stars 64 forks source link

Feature: Extend close progress threshold for different types #257

Closed durannumit closed 4 months ago

durannumit commented 4 months ago

Description

closeProgressThreshold is currently only available in WoltModalType class. Extending the defined modal types do not allow overriding this value. We should add this value to constructor of WoltBottomSheetType class

Related Issues

Add closeProgressThreshold to default modal type constructor methods

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

Breaking Change

Does your PR require plugin users to manually update their apps to accommodate your change?

github-actions[bot] commented 4 months ago

Visit the preview URL for this PR (updated for commit 4b00b8d):

(expires Sun, 14 Jul 2024 21:19:08 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 00f7f56c8a4ce5693de819a908406c0fc6411226