Flutter – setState() or markNeedsBuild() called during build when ValueListenableNotifier detects value change
I'm using an AppValueNotifier to create a value called showStreamDialogNotifier that will change depending on some stream. When this value becomes true, I want to show a dialog box on my Login form. class AppValueNotifier{ ValueNotifier showStreamDialogNotifier = ValueNotifier<bool>(false); void…