我们需要在Flutter中创建一个5分钟倒计时文本对象,一旦倒计时达到零,我们就需要启动一个新屏幕。这是当前代码:Container(margin:EdgeInsets.only(left:0.0,top:60.0,bottom:50.0,right:0.0),child:Text('5:00',style:newTextStyle(color:Colors.white,fontWeight:FontWeight.bold,fontSize:100.0)),), 最佳答案 我通常不会只发布示例代码,但我有心情在flutter中编写一
我们需要在Flutter中创建一个5分钟倒计时文本对象,一旦倒计时达到零,我们就需要启动一个新屏幕。这是当前代码:Container(margin:EdgeInsets.only(left:0.0,top:60.0,bottom:50.0,right:0.0),child:Text('5:00',style:newTextStyle(color:Colors.white,fontWeight:FontWeight.bold,fontSize:100.0)),), 最佳答案 我通常不会只发布示例代码,但我有心情在flutter中编写一