Revert "Enable avoid_redundant_argument_values lint (#91409)" (#91461)

This reverts commit 5fd259be24.
This commit is contained in:
Zachary Anderson
2021-10-07 21:11:07 -07:00
committed by GitHub
parent 5fd259be24
commit b9d2177da0
667 changed files with 3385 additions and 1693 deletions

View File

@@ -367,7 +367,7 @@ mixin CommandHandlerFactory {
final Duration pause = scrollCommand.duration ~/ totalMoves;
final Offset startLocation = _prober.getCenter(target);
Offset currentLocation = startLocation;
final TestPointer pointer = TestPointer();
final TestPointer pointer = TestPointer(1);
_prober.binding.handlePointerEvent(pointer.down(startLocation));
await Future<void>.value(); // so that down and move don't happen in the same microtask
for (int moves = 0; moves < totalMoves; moves += 1) {

View File

@@ -556,6 +556,7 @@ Future<vms.VmService> _waitAndConnect(String url, Map<String, dynamic>? headers)
final vms.VmService service = vms.VmService(
controller.stream,
socket.add,
log: null,
disposeHandler: () => socket!.close(),
streamClosed: streamClosedCompleter.future
);