简体   繁体   English

颤动中是否有任何可用的东西来保持或暂停屏幕小部件

[英]is there anything available in flutter to hold or pause a screen Widgets

在此处输入图像描述

I want to create a custom pause button to hold or pause screen widgets without using game engine can someone help me?我想创建一个自定义暂停按钮来保持或暂停屏幕小部件而不使用游戏引擎有人可以帮助我吗?

When I click on pause button the timer stop and count stop and animation stop again I click on button all things resume ?当我单击暂停按钮时,计时器停止并计数停止和动画再次停止我单击按钮一切恢复?

如果您的意思是按暂停按钮来暂停倒计时,那么您要查找的关键字是状态管理Timer.periodic

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM