DVDriver constructor

DVDriver({
  1. Future<void> pump([
    1. Duration?
    ])?,
})

pump advances frames on the headless test host (pass tester.pump); without it the driver waits in real time, as on a device or a browser.

Implementation

DVDriver({Future<void> Function([Duration?])? pump})
    : _pump = pump,
      _semantics = SemanticsBinding.instance.ensureSemantics();