{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/329","labels_url":"https://api.github.com/repos/flutter/flutter/issues/329/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/329/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/329/events","html_url":"https://github.com/flutter/flutter/issues/329","id":116502258,"number":329,"title":"Handle event arguments","user":{"login":"IvBaranov","id":6000572,"avatar_url":"https://avatars.githubusercontent.com/u/6000572?v=3","gravatar_id":"","url":"https://api.github.com/users/IvBaranov","html_url":"https://github.com/IvBaranov","followers_url":"https://api.github.com/users/IvBaranov/followers","following_url":"https://api.github.com/users/IvBaranov/following{/other_user}","gists_url":"https://api.github.com/users/IvBaranov/gists{/gist_id}","starred_url":"https://api.github.com/users/IvBaranov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IvBaranov/subscriptions","organizations_url":"https://api.github.com/users/IvBaranov/orgs","repos_url":"https://api.github.com/users/IvBaranov/repos","events_url":"https://api.github.com/users/IvBaranov/events{/privacy}","received_events_url":"https://api.github.com/users/IvBaranov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/flutter/flutter/labels/affects:%20dev%20experience","name":"affects: dev experience","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"abarth","id":112007,"avatar_url":"https://avatars.githubusercontent.com/u/112007?v=3","gravatar_id":"","url":"https://api.github.com/users/abarth","html_url":"https://github.com/abarth","followers_url":"https://api.github.com/users/abarth/followers","following_url":"https://api.github.com/users/abarth/following{/other_user}","gists_url":"https://api.github.com/users/abarth/gists{/gist_id}","starred_url":"https://api.github.com/users/abarth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abarth/subscriptions","organizations_url":"https://api.github.com/users/abarth/orgs","repos_url":"https://api.github.com/users/abarth/repos","events_url":"https://api.github.com/users/abarth/events{/privacy}","received_events_url":"https://api.github.com/users/abarth/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-11-12T08:32:21Z","updated_at":"2015-11-12T17:09:55Z","closed_at":null,"body":"In `/sky_engine-0.0.49/sdk_ext/Customwindow.dart`:\r\n```\r\n...\r\n9: typedef void _EventCallback(Event event);\r\n...\r\n```\r\nIn `/flutter/packages/flutter/lib/src/rendering/binding.dart`:\r\n```\r\n...\r\n146: ui.window.onEvent = _handleEvent;\r\n...\r\n207: void _handleEvent(String eventType, double timeStamp) {...}\r\n...\r\n```\r\nCommit: c94e4c4\r\n\r\nSo I get on app start:\r\n```\r\norg.domokit.sky.shell E/chromium: [ERROR:dart_error.cc(16)] Unhandled exception:\r\n                                                                 type '(String, double) => void' is not a subtype of type '_EventCallback' of 'value'.\r\n                                                                 #0      Window.onEvent= (file:///src/flutter/engine/src/out/android_Release/gen/sky/bindings/Customwindow.dart:33)\r\n                                                                 #1      FlutterBinding.FlutterBinding (packages/flutter/src/rendering/binding.dart:146)\r\n                                                                 #2      WidgetFlutterBinding.WidgetFlutterBinding (packages/flutter/src/widgets/binding.dart:12)\r\n                                                                 #3      WidgetFlutterBinding.ensureInitialized (packages/flutter/src/widgets/binding.dart:19)\r\n                                                                 #4      runApp (packages/flutter/src/widgets/binding.dart:82)\r\n                                                                 #5      main (/Users/ivbaranov/Projects/flutter/flutter/examples/fitness/lib/main.dart:165)\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/156169003","html_url":"https://github.com/flutter/flutter/issues/329#issuecomment-156169003","issue_url":"https://api.github.com/repos/flutter/flutter/issues/329","id":156169003,"user":{"login":"abarth","id":112007,"avatar_url":"https://avatars.githubusercontent.com/u/112007?v=3","gravatar_id":"","url":"https://api.github.com/users/abarth","html_url":"https://github.com/abarth","followers_url":"https://api.github.com/users/abarth/followers","following_url":"https://api.github.com/users/abarth/following{/other_user}","gists_url":"https://api.github.com/users/abarth/gists{/gist_id}","starred_url":"https://api.github.com/users/abarth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abarth/subscriptions","organizations_url":"https://api.github.com/users/abarth/orgs","repos_url":"https://api.github.com/users/abarth/repos","events_url":"https://api.github.com/users/abarth/events{/privacy}","received_events_url":"https://api.github.com/users/abarth/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T17:09:55Z","updated_at":"2015-11-12T17:09:55Z","body":"Maybe the bug here is to better document how to update flutter once you've got it?"}}