Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About cheking which dialog open #148

Closed
92sajid110 opened this issue Aug 3, 2023 · 4 comments
Closed

About cheking which dialog open #148

92sajid110 opened this issue Aug 3, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@92sajid110
Copy link

Hello is there is a way,if not please implement it. i have added backbutton interceptor and in that i want to check if SmartDialog.show(tag:"temp") is open then close it first. and perform some task.
In simple words find open dialogs with tag.
SmartDialog.dismiss(tag:"temp") closes dialog but didn't perform specific task after closing this dialog.
NOTE:- all task is on different file of backbutton handler so onDismis is also work here

Thanks

@xdd666t xdd666t self-assigned this Aug 3, 2023
@xdd666t xdd666t added the enhancement New feature or request label Aug 3, 2023
xdd666t added a commit that referenced this issue Aug 5, 2023
xdd666t added a commit that referenced this issue Aug 5, 2023
@xdd666t
Copy link
Member

xdd666t commented Aug 5, 2023

  • This feature is complete, you need to use this version
dependencies:
  flutter_smart_dialog: ^4.9.4
  • usage
SmartDialog.config.checkExist(tag: "test");

@92sajid110
Copy link
Author

Thanks, a lot.

@92sajid110
Copy link
Author

Hello,
after adding this awesome feature, i have one more request i want to use this as bottom sheet,
I successfully created with alignment but want to add animations from bottom to top opening or a way to convert container bottom sheet dialog.
Thanks

@xdd666t
Copy link
Member

xdd666t commented Aug 6, 2023

  • You can look at this attribute
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants