You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the widget, I always wanted to use Overlays. You've made it so easy that I had to give it a go :)
I ran into a couple of issues using overlay_container with my custom logic. I've managed to resolve them by changing a few things and I wanted to ask you if I may have missed something.
1: Why did you decide to put a Future.delayed in your _show method?
2: all WidgetsBinding.instance.addPostFrameCallback are ensured to be executed in the order in which they are called. Is there a reason why you're calling _overlayEntry.remove(); again in show?
I managed to resolve my issues by changing _show and _hide to:
Hey,
Thank you for the widget, I always wanted to use Overlays. You've made it so easy that I had to give it a go :)
I ran into a couple of issues using overlay_container with my custom logic. I've managed to resolve them by changing a few things and I wanted to ask you if I may have missed something.
1: Why did you decide to put a Future.delayed in your _show method?
2: all WidgetsBinding.instance.addPostFrameCallback are ensured to be executed in the order in which they are called. Is there a reason why you're calling _overlayEntry.remove(); again in show?
I managed to resolve my issues by changing _show and _hide to:
Am I missing something here?
The text was updated successfully, but these errors were encountered: