pump abstract method

Future<void> pump(
  1. [Duration duration]

Called to indicate that there should be a new frame after an optional delay.

The frame is pumped after a delay of duration if duration is not null, or immediately otherwise.

This is invoked by flingFrom, for instance, so that the sequence of pointer events occurs over time.

The WidgetTester subclass implements this by deferring to the binding.

See also:


Future<void> pump([Duration duration]);