I have an AnimatedCrossfade in a StatefulWidget. The crossFadeState is depending on a variable which comes as a return value from another page.
When the variable has a certain value, the firstChild is shown, otherwise the secondChild, - nothing special so far..
After a Future.delayed I reset this variable and the firstChild is shown again via setState.
Is this a good flutter practice?