handlePointerEventRecord method Null safety
A simulator of how the framework handles a series of PointerEvents received from the Flutter engine.
The PointerEventRecord.timeDelay is used as the time delay of the events injection relative to the starting point of the method call.
- For AutomatedTestWidgetsFlutterBinding where the clock is fake, the return value should be exact zeros.
- For LiveTestWidgetsFlutterBinding, the values are typically small positives, meaning the event happens a little later than the set time, but a very small portion may have a tiny negative value for about tens of microseconds. This is due to the nature of Future.delayed.
The closer the return values are to zero the more faithful it is to the
Future<List<Duration>> handlePointerEventRecord(List<PointerEventRecord> records);