TestStepDelays constructor

const TestStepDelays({
  1. Duration defaultTimeout = const Duration(seconds: 10),
  2. Duration postFoundWidget = Duration.zero,
  3. Duration postStep = const Duration(seconds: 1),
  4. Duration postSubmitReport = const Duration(seconds: 5),
  5. Duration preStep = const Duration(seconds: 1),
  6. Duration screenshot = const Duration(seconds: 5),
  7. Duration scrollIncrement = const Duration(milliseconds: 100),
  8. Duration testSetUp = const Duration(milliseconds: 500),
  9. Duration testTearDown = const Duration(milliseconds: 500),
})

Constructs the delay object. All values have timeouts that have been tested via the example application on various devices. They may need to be altered based on your individual application's timings and requirements.

Implementation

const TestStepDelays({
  this.defaultTimeout = const Duration(seconds: 10),
  this.postFoundWidget = Duration.zero,
  this.postStep = const Duration(seconds: 1),
  this.postSubmitReport = const Duration(seconds: 5),
  this.preStep = const Duration(seconds: 1),
  this.screenshot = const Duration(seconds: 5),
  this.scrollIncrement = const Duration(milliseconds: 100),
  this.testSetUp = const Duration(milliseconds: 500),
  this.testTearDown = const Duration(milliseconds: 500),
});