Answers for "how to set an wait time in flutter"

5

flutter wait for specific time

await Future.delayed(const Duration(seconds: 2), (){});
Posted by: Guest on August-12-2020
4

flutter delay a function

Future.delayed(const Duration(milliseconds: 500), () {

// Here you can write your code

  setState(() {
    // Here you can write your code for open new view
  });

});
Posted by: Guest on June-17-2020

Code answers related to "how to set an wait time in flutter"

Code answers related to "Dart"

Browse Popular Code Answers by Language