Remove outdated ignores (#108924)
This commit is contained in:
committed by
GitHub
parent
b972f872b8
commit
e27a19e3f8
@@ -62,8 +62,6 @@ class MyHomePageState extends State<MyHomePage> {
|
||||
// the placeholder text.
|
||||
Future<void>.delayed(const Duration(milliseconds: 750), () {
|
||||
setState(() {
|
||||
// See https://github.com/dart-lang/sdk/issues/46894
|
||||
// ignore: prefer_const_constructors
|
||||
postLoadDisplayWidget = component1.LogoScreen();
|
||||
});
|
||||
});
|
||||
|
||||
@@ -150,9 +150,8 @@ class StackFrameEquality implements Equality<StackFrame> {
|
||||
e1.method == e2.method;
|
||||
}
|
||||
|
||||
// TODO(dnfield): This ignore shouldn't be necessary, see https://github.com/dart-lang/sdk/issues/46477
|
||||
@override
|
||||
int hash(StackFrame e) { // ignore: avoid_renaming_method_parameters
|
||||
int hash(StackFrame e) {
|
||||
return Object.hash(e.number, e.packageScheme, e.package, e.packagePath, e.line, e.column, e.className, e.method);
|
||||
}
|
||||
|
||||
|
||||
@@ -234,14 +234,11 @@ void main() {
|
||||
|
||||
KeyboardEvent dispatchKeyboardEvent(
|
||||
EventTarget target, String type, Map<String, dynamic> args) {
|
||||
// ignore: implicit_dynamic_function
|
||||
final Object jsKeyboardEvent = js_util.getProperty(window, 'KeyboardEvent') as Object;
|
||||
final List<dynamic> eventArgs = <dynamic>[
|
||||
type,
|
||||
args,
|
||||
];
|
||||
|
||||
// ignore: implicit_dynamic_function
|
||||
final KeyboardEvent event = js_util.callConstructor(
|
||||
jsKeyboardEvent, js_util.jsify(eventArgs) as List<dynamic>)
|
||||
as KeyboardEvent;
|
||||
|
||||
Reference in New Issue
Block a user