Как отображать диалоговое окно оповещения только один раз в день во Flutter? ⇐ Android
Как отображать диалоговое окно оповещения только один раз в день во Flutter?
I'm working on an app in which I want to add a functionality that shows an alert dialog box only once a day when the user opens the app. I'm done with the dialog box I used the boolean variable if this bool value is true then show dialog else don't show the dialog. Once the dialog opens on tap of the button I set the bool value to false. But my question is how it will set true again at the end of the day? What should I need to do so the bool value again set to true at the end of the day?
Источник: https://stackoverflow.com/questions/666 ... in-flutter
I'm working on an app in which I want to add a functionality that shows an alert dialog box only once a day when the user opens the app. I'm done with the dialog box I used the boolean variable if this bool value is true then show dialog else don't show the dialog. Once the dialog opens on tap of the button I set the bool value to false. But my question is how it will set true again at the end of the day? What should I need to do so the bool value again set to true at the end of the day?
Источник: https://stackoverflow.com/questions/666 ... in-flutter
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Как отображать диалоговое окно оповещения только один раз в день во Flutter?
Anonymous » » в форуме IOS - 0 Ответы
- 10 Просмотры
-
Последнее сообщение Anonymous
-