updateInterval property
The minimum amount of time to wait between firing batches of visibility callbacks.
If set to Duration.zero, callbacks instead will fire at the end of every frame. This is useful for automated tests.
Changing updateInterval will not affect any pending callbacks. Clients should call notifyNow explicitly to flush them if desired.
Implementation
Duration updateInterval = const Duration(milliseconds: 500);