You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, trying to use your state package in a dart test project.
Code is below, but first here is the output with added comments as to where things are not as expected.
It's a traffic light in the UK, red, redamber, green, amber, red
Any suggestions as to what I am doing wrong would be grateful.
Entered: red
Exit: red
Entered: redamber
Exit: redamber
Entered: green. // okay so far
Entered: amber // but then enters amber before leaving green
Exit: green
Entered: red. // then enters red before leaving amber
Exit: amber
Hi, trying to use your state package in a dart test project.
Code is below, but first here is the output with added comments as to where things are not as expected.
It's a traffic light in the UK, red, redamber, green, amber, red
Any suggestions as to what I am doing wrong would be grateful.
Code
I also tried this format, but onDone is never called
The text was updated successfully, but these errors were encountered: