waitUntilNoTransientCallbacks method
- Duration? timeout,
Waits until there are no more transient callbacks in the queue.
Use this method when you need to wait for the moment when the application becomes "stable", for example, prior to taking a screenshot.
Implementation
Future<void> waitUntilNoTransientCallbacks({ Duration? timeout }) async {
await sendCommand(WaitForCondition(const NoTransientCallbacks(), timeout: timeout));
}