resume method
Resumes the component by setting the time scale to 1.0 or to the given value.
Implementation
void resume({double? newTimeScale}) {
if (timeScale == 0.0) {
timeScale = newTimeScale ?? 1.0;
}
}
Resumes the component by setting the time scale to 1.0 or to the given value.
void resume({double? newTimeScale}) {
if (timeScale == 0.0) {
timeScale = newTimeScale ?? 1.0;
}
}