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

Displaying it over a dialog #5

Open
jimmyff opened this issue Oct 14, 2019 · 3 comments
Open

Displaying it over a dialog #5

jimmyff opened this issue Oct 14, 2019 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@jimmyff
Copy link

jimmyff commented Oct 14, 2019

This is lovely! Is there any way to get the confetti displaying over a dialog?

@funwithflutter
Copy link
Owner

Sorry for the late reply. I believe this should be possible. Take a look at Flutter overlays - https://api.flutter.dev/flutter/widgets/Overlay-class.html

If I have time in the future I might update the package to include overlays by default. But for now, it might be possible to create your own overlay.

@funwithflutter funwithflutter added the enhancement New feature or request label Oct 30, 2019
@funwithflutter funwithflutter self-assigned this Oct 30, 2019
@britannio
Copy link

Stack(
      children: [
        Dialog(),
        Align(child: ConfettiWidget()),
      ],
)

@drkdelaney
Copy link

I was looking for something like this too. I wrote a function that would achieve this that is similar to showDialog. I call it showConfettiDialog.

https://gist.github.com/derekedelaney/0bd36b370daceaf56712a22bd097cdc8

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

4 participants