enable use_key_in_widget_constructors lint (#77032)

This commit is contained in:
Michael Goderbauer
2021-03-02 10:14:02 -08:00
committed by GitHub
parent 6ec9014298
commit 0f568298d8
161 changed files with 644 additions and 335 deletions

View File

@@ -27,7 +27,7 @@ Future<void> main() async {
ready.complete();
},
behavior: HitTestBehavior.opaque,
child: IgnorePointer(
child: const IgnorePointer(
ignoring: true,
child: ComplexLayoutApp(),
),
@@ -45,7 +45,7 @@ Future<void> main() async {
// remove onTap handler, enable pointer events for app
runApp(GestureDetector(
child: IgnorePointer(
child: const IgnorePointer(
ignoring: false,
child: ComplexLayoutApp(),
),