-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Description
In /sky_engine-0.0.49/sdk_ext/Customwindow.dart:
...
9: typedef void _EventCallback(Event event);
...
In /flutter/packages/flutter/lib/src/rendering/binding.dart:
...
146: ui.window.onEvent = _handleEvent;
...
207: void _handleEvent(String eventType, double timeStamp) {...}
...
Commit: c94e4c4
So I get on app start:
org.domokit.sky.shell E/chromium: [ERROR:dart_error.cc(16)] Unhandled exception:
type '(String, double) => void' is not a subtype of type '_EventCallback' of 'value'.
#0 Window.onEvent= (file:///src/flutter/engine/src/out/android_Release/gen/sky/bindings/Customwindow.dart:33)
#1 FlutterBinding.FlutterBinding (packages/flutter/src/rendering/binding.dart:146)
#2 WidgetFlutterBinding.WidgetFlutterBinding (packages/flutter/src/widgets/binding.dart:12)
#3 WidgetFlutterBinding.ensureInitialized (packages/flutter/src/widgets/binding.dart:19)
#4 runApp (packages/flutter/src/widgets/binding.dart:82)
#5 main (/Users/ivbaranov/Projects/flutter/flutter/examples/fitness/lib/main.dart:165)
Metadata
Metadata
Assignees
Labels
No labels