Remove outdated ignores (#162773)
Powered by the new and amazing `unnecessary_ignore` lint. We're not enabling this lint by default because being able to temporarily use ignores that don't ignore anything is a powerful tool to enable migrations. We should turn this lint on locally periodically, though, and clean up all outdated ignores.
This commit is contained in:
committed by
GitHub
parent
5944d992ac
commit
c783ce2344
@@ -391,7 +391,6 @@ class TestPlatformDispatcher implements PlatformDispatcher {
|
||||
bool get supportsShowingSystemContextMenu =>
|
||||
_supportsShowingSystemContextMenu ?? _platformDispatcher.supportsShowingSystemContextMenu;
|
||||
bool? _supportsShowingSystemContextMenu;
|
||||
// ignore: avoid_setters_without_getters
|
||||
set supportsShowingSystemContextMenu(bool value) {
|
||||
_supportsShowingSystemContextMenu = value;
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ import 'package:flutter/scheduler.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:matcher/expect.dart' as matcher;
|
||||
import 'package:matcher/src/expect/async_matcher.dart'; // ignore: implementation_imports
|
||||
import 'package:matcher/src/expect/async_matcher.dart';
|
||||
|
||||
import 'multi_view_testing.dart';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user