How do you wait for a time in flutter?

seconds; timer. start(); // do something to wait for 2 seconds await Future. delayed(const Duration(seconds: 2), (){}); expect(timer. seconds, startTime – 2); });8 Oca 2019

Sizin İçin Seçtik  Myastenia gravis kronik hastalık mıdır?

Leave a Reply

Your email address will not be published. Required fields are marked *