pauseForLifecycle method
void
pauseForLifecycle()
生命周期暂停,与用户暂停独立。
Implementation
void pauseForLifecycle() {
if (_disposed) return;
_timeline.pauseLifecycle();
_host?.clock.stop();
}
生命周期暂停,与用户暂停独立。
void pauseForLifecycle() {
if (_disposed) return;
_timeline.pauseLifecycle();
_host?.clock.stop();
}