stopTime method
void
stopTime()
Completely stops time for the managed page.
When the time is stopped, the updateTree method of the page is not called at all, which can save computational resources. However, this also means that the lifecycle events on the page will not be processed, and therefore no components will be able to be added or removed from the page.
Implementation
void stopTime() => timeScale = 0;