I want to show an floating notification widget on the entire widgets of the application (on the top of MaterialApp widget). So i find two possible way to do that :
- wrap MaterialApp widget with a Stack widget
- insert my widget as OverlayEntry (Overlay.of(context).insert(MyNotificationOverlay()))
So i'm confused to choice best option to improve performance of the app for this requirement(showing notificatioin as floating widget entire the app (for example i want to show upload progress with this notification))
Thanks for your help
OverlayEntrycreates in top of widgets. but after finish using you will remove it. If you can write your code byStackuseStackwidget.