As listener is attached to Minicontroller inside initState widget life cycle method but Mini player is very likely to be recreated because of parent widget rebuilds ex. Safe Area change ( Device Navigation keys hide, show) , MediaQuery and others so.
Opacity test 0 <= opacity <= 1.0 fails too because after safe area height changes.
As listener is attached to
Minicontroller
inside initState widget life cycle method but Mini player is very likely to be recreated because of parent widget rebuilds ex. Safe Area change ( Device Navigation keys hide, show) , MediaQuery and others so. Opacity test 0 <= opacity <= 1.0 fails too because after safe area height changes.