Skip to content

Commit ffbf69c

Browse files
authored
Ignore analyzer implict dynamic checks for js_util generic return type (flutter#92271)
1 parent 2d8b8e1 commit ffbf69c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

dev/benchmarks/macrobenchmarks/lib/src/web/bench_text_layout.dart

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ void _setTestMode(_TestMode? mode) {
7575
// Keep as null.
7676
break;
7777
}
78+
// ignore: implicit_dynamic_function
7879
js_util.callMethod(
7980
html.window,
8081
'_flutter_internal_update_experiment',

dev/integration_tests/web_e2e_tests/test_driver/text_editing_integration.dart

+2
Original file line numberDiff line numberDiff line change
@@ -237,12 +237,14 @@ void main() {
237237

238238
KeyboardEvent dispatchKeyboardEvent(
239239
EventTarget target, String type, Map<String, dynamic> args) {
240+
// ignore: implicit_dynamic_function
240241
final Object jsKeyboardEvent = js_util.getProperty(window, 'KeyboardEvent') as Object;
241242
final List<dynamic> eventArgs = <dynamic>[
242243
type,
243244
args,
244245
];
245246

247+
// ignore: implicit_dynamic_function
246248
final KeyboardEvent event = js_util.callConstructor(
247249
jsKeyboardEvent, js_util.jsify(eventArgs) as List<dynamic>)
248250
as KeyboardEvent;

0 commit comments

Comments
 (0)