I want to display a custom alert dialog whenever an app state variable changes in my FlutterFlow app. Specifically, I want to show a notification using my own custom component when a certain state variable updates.
So far, I have tried using a custom action that continuously checks the variable. For example, when the variable is false (indicating no internet connection), I wanted to trigger the dialog. However, this approach didn’t work as expected.