I have a command that gets disposed on unmount, however because there is a delay when the widget disposes I get this error:
I tried pumping and settling after the last statement, but obviously the widget is disposed after the test ends, so I can't do anything about the timer that happens with the command disposing