So, to start out with a simpler answer the correct way to wait for a period of time in a flutter test is using tester. pump . await tester. pump(new Duration(milliseconds: 50)); 30 Mar 2018
Read moreHow do you do integration test in flutter?
Steps To Perform Integration Testing In Flutter Apps
Read more