slowUI function
Slows the UI sleep by slowFactor
.
- This will be called by initializeTestUIRoot if isHeadlessUI is
true
.
Implementation
void slowUI({int slowFactor = 10}) {
_speedFactor = slowFactor.clamp(1, 100).toDouble();
if (_speedFactor == 1) {
print('** Fast UI');
} else {
print('** Slow UI: $_speedFactor');
}
}