Answers for "Future.delayed(const Duration(seconds: 10) flutter"

6

future delayed flutter

Future.delayed(Duration(seconds: 5), () {
  // 5s over, navigate to a new page
  Navigator.pushNamed(context, MaterialPageRoute(builder: (_) => Screen2()));
});
Posted by: Guest on March-17-2021

Code answers related to "Future.delayed(const Duration(seconds: 10) flutter"

Code answers related to "Dart"

Browse Popular Code Answers by Language