I want to show some popups in a fluttter project to get location and disable battery optimazation whenever I open the app.
I tried and showed this popup using ElevatedButton. But as I want to show this popup at the opening of the app, so this work using elevated button is not appropriate for me. So, is it possible to show popup from the first second without using any elevated button or something else? If it is possiblem, then please guide me how to do this.
In an app of mine, I show a privacy-related dialog this way:
You can adjust the
Duration: in my case, it usually happens too fast for the user to do anything else.