flutter延时执行

//1秒后这个i行
 Future.delayed(Duration(milliseconds: 1000), () { 
//代码省略

});
原文地址:https://www.cnblogs.com/mingv/p/14031700.html