{"action":"created","comment":{"url":"https://api.github.com/repos/flutter/flutter/pulls/comments/212131104","pull_request_review_id":148698401,"id":212131104,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjEzMTEwNA==","diff_hunk":"@@ -82,19 +92,52 @@ class _AndroidViewState extends State<AndroidView> {\n     );\n   }\n \n-  @override\n-  void initState() {\n-    super.initState();\n+  void _initializeOnce() {\n+    if (_initialized) {\n+      return;\n+    }\n+    _initialized = true;\n+    assert(widget.layoutDirection != null || debugCheckHasDirectionality(context));","path":"packages/flutter/lib/src/widgets/platform_view.dart","position":null,"original_position":50,"commit_id":"29d5c4fa08606f8b84d4166a863023eda71f19e5","original_commit_id":"b03aea60560fee95166df1e83e621c26879fb0b1","user":{"login":"amirh","id":1024117,"node_id":"MDQ6VXNlcjEwMjQxMTc=","avatar_url":"https://avatars2.githubusercontent.com/u/1024117?v=4","gravatar_id":"","url":"https://api.github.com/users/amirh","html_url":"https://github.com/amirh","followers_url":"https://api.github.com/users/amirh/followers","following_url":"https://api.github.com/users/amirh/following{/other_user}","gists_url":"https://api.github.com/users/amirh/gists{/gist_id}","starred_url":"https://api.github.com/users/amirh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amirh/subscriptions","organizations_url":"https://api.github.com/users/amirh/orgs","repos_url":"https://api.github.com/users/amirh/repos","events_url":"https://api.github.com/users/amirh/events{/privacy}","received_events_url":"https://api.github.com/users/amirh/received_events","type":"User","site_admin":false},"body":"done","created_at":"2018-08-22T22:31:09Z","updated_at":"2018-08-22T22:41:51Z","html_url":"https://github.com/flutter/flutter/pull/20838#discussion_r212131104","pull_request_url":"https://api.github.com/repos/flutter/flutter/pulls/20838","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/flutter/flutter/pulls/comments/212131104"},"html":{"href":"https://github.com/flutter/flutter/pull/20838#discussion_r212131104"},"pull_request":{"href":"https://api.github.com/repos/flutter/flutter/pulls/20838"}},"in_reply_to_id":212128346},"pull_request":{"url":"https://api.github.com/repos/flutter/flutter/pulls/20838","id":209665018,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5NjY1MDE4","html_url":"https://github.com/flutter/flutter/pull/20838","diff_url":"https://github.com/flutter/flutter/pull/20838.diff","patch_url":"https://github.com/flutter/flutter/pull/20838.patch","issue_url":"https://api.github.com/repos/flutter/flutter/issues/20838","number":20838,"state":"open","locked":false,"title":"Add a layoutDirection parameter to AndroidView","user":{"login":"amirh","id":1024117,"node_id":"MDQ6VXNlcjEwMjQxMTc=","avatar_url":"https://avatars2.githubusercontent.com/u/1024117?v=4","gravatar_id":"","url":"https://api.github.com/users/amirh","html_url":"https://github.com/amirh","followers_url":"https://api.github.com/users/amirh/followers","following_url":"https://api.github.com/users/amirh/following{/other_user}","gists_url":"https://api.github.com/users/amirh/gists{/gist_id}","starred_url":"https://api.github.com/users/amirh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amirh/subscriptions","organizations_url":"https://api.github.com/users/amirh/orgs","repos_url":"https://api.github.com/users/amirh/repos","events_url":"https://api.github.com/users/amirh/events{/privacy}","received_events_url":"https://api.github.com/users/amirh/received_events","type":"User","site_admin":false},"body":"Companion engine changes: flutter/engine#6057\r\n\r\nFixes: #19417","created_at":"2018-08-20T22:53:18Z","updated_at":"2018-08-22T22:41:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e50e0d675278d63e225505123e4afd35dbda117","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":487496476,"node_id":"MDU6TGFiZWw0ODc0OTY0NzY=","url":"https://api.github.com/repos/flutter/flutter/labels/cla:%20yes","name":"cla: yes","color":"ffffff","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/flutter/flutter/pulls/20838/commits","review_comments_url":"https://api.github.com/repos/flutter/flutter/pulls/20838/comments","review_comment_url":"https://api.github.com/repos/flutter/flutter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/20838/comments","statuses_url":"https://api.github.com/repos/flutter/flutter/statuses/29d5c4fa08606f8b84d4166a863023eda71f19e5","head":{"label":"amirh:platform_view_direction","ref":"platform_view_direction","sha":"29d5c4fa08606f8b84d4166a863023eda71f19e5","user":{"login":"amirh","id":1024117,"node_id":"MDQ6VXNlcjEwMjQxMTc=","avatar_url":"https://avatars2.githubusercontent.com/u/1024117?v=4","gravatar_id":"","url":"https://api.github.com/users/amirh","html_url":"https://github.com/amirh","followers_url":"https://api.github.com/users/amirh/followers","following_url":"https://api.github.com/users/amirh/following{/other_user}","gists_url":"https://api.github.com/users/amirh/gists{/gist_id}","starred_url":"https://api.github.com/users/amirh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amirh/subscriptions","organizations_url":"https://api.github.com/users/amirh/orgs","repos_url":"https://api.github.com/users/amirh/repos","events_url":"https://api.github.com/users/amirh/events{/privacy}","received_events_url":"https://api.github.com/users/amirh/received_events","type":"User","site_admin":false},"repo":{"id":78148410,"node_id":"MDEwOlJlcG9zaXRvcnk3ODE0ODQxMA==","name":"flutter","full_name":"amirh/flutter","owner":{"login":"amirh","id":1024117,"node_id":"MDQ6VXNlcjEwMjQxMTc=","avatar_url":"https://avatars2.githubusercontent.com/u/1024117?v=4","gravatar_id":"","url":"https://api.github.com/users/amirh","html_url":"https://github.com/amirh","followers_url":"https://api.github.com/users/amirh/followers","following_url":"https://api.github.com/users/amirh/following{/other_user}","gists_url":"https://api.github.com/users/amirh/gists{/gist_id}","starred_url":"https://api.github.com/users/amirh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amirh/subscriptions","organizations_url":"https://api.github.com/users/amirh/orgs","repos_url":"https://api.github.com/users/amirh/repos","events_url":"https://api.github.com/users/amirh/events{/privacy}","received_events_url":"https://api.github.com/users/amirh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amirh/flutter","description":"Framework for building high-performance, high-fidelity iOS and Android apps.","fork":true,"url":"https://api.github.com/repos/amirh/flutter","forks_url":"https://api.github.com/repos/amirh/flutter/forks","keys_url":"https://api.github.com/repos/amirh/flutter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amirh/flutter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amirh/flutter/teams","hooks_url":"https://api.github.com/repos/amirh/flutter/hooks","issue_events_url":"https://api.github.com/repos/amirh/flutter/issues/events{/number}","events_url":"https://api.github.com/repos/amirh/flutter/events","assignees_url":"https://api.github.com/repos/amirh/flutter/assignees{/user}","branches_url":"https://api.github.com/repos/amirh/flutter/branches{/branch}","tags_url":"https://api.github.com/repos/amirh/flutter/tags","blobs_url":"https://api.github.com/repos/amirh/flutter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amirh/flutter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amirh/flutter/git/refs{/sha}","trees_url":"https://api.github.com/repos/amirh/flutter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amirh/flutter/statuses/{sha}","languages_url":"https://api.github.com/repos/amirh/flutter/languages","stargazers_url":"https://api.github.com/repos/amirh/flutter/stargazers","contributors_url":"https://api.github.com/repos/amirh/flutter/contributors","subscribers_url":"https://api.github.com/repos/amirh/flutter/subscribers","subscription_url":"https://api.github.com/repos/amirh/flutter/subscription","commits_url":"https://api.github.com/repos/amirh/flutter/commits{/sha}","git_commits_url":"https://api.github.com/repos/amirh/flutter/git/commits{/sha}","comments_url":"https://api.github.com/repos/amirh/flutter/comments{/number}","issue_comment_url":"https://api.github.com/repos/amirh/flutter/issues/comments{/number}","contents_url":"https://api.github.com/repos/amirh/flutter/contents/{+path}","compare_url":"https://api.github.com/repos/amirh/flutter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amirh/flutter/merges","archive_url":"https://api.github.com/repos/amirh/flutter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amirh/flutter/downloads","issues_url":"https://api.github.com/repos/amirh/flutter/issues{/number}","pulls_url":"https://api.github.com/repos/amirh/flutter/pulls{/number}","milestones_url":"https://api.github.com/repos/amirh/flutter/milestones{/number}","notifications_url":"https://api.github.com/repos/amirh/flutter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amirh/flutter/labels{/name}","releases_url":"https://api.github.com/repos/amirh/flutter/releases{/id}","deployments_url":"https://api.github.com/repos/amirh/flutter/deployments","created_at":"2017-01-05T21:08:15Z","updated_at":"2017-10-31T16:35:14Z","pushed_at":"2018-08-22T22:41:48Z","git_url":"git://github.com/amirh/flutter.git","ssh_url":"git@github.com:amirh/flutter.git","clone_url":"https://github.com/amirh/flutter.git","svn_url":"https://github.com/amirh/flutter","homepage":"https://flutter.io","size":44689,"stargazers_count":0,"watchers_count":0,"language":"Dart","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"flutter:master","ref":"master","sha":"980c8a737b7ed211cc86fcf6a84538e71f5c6c25","user":{"login":"flutter","id":14101776,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTAxNzc2","avatar_url":"https://avatars3.githubusercontent.com/u/14101776?v=4","gravatar_id":"","url":"https://api.github.com/users/flutter","html_url":"https://github.com/flutter","followers_url":"https://api.github.com/users/flutter/followers","following_url":"https://api.github.com/users/flutter/following{/other_user}","gists_url":"https://api.github.com/users/flutter/gists{/gist_id}","starred_url":"https://api.github.com/users/flutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flutter/subscriptions","organizations_url":"https://api.github.com/users/flutter/orgs","repos_url":"https://api.github.com/users/flutter/repos","events_url":"https://api.github.com/users/flutter/events{/privacy}","received_events_url":"https://api.github.com/users/flutter/received_events","type":"Organization","site_admin":false},"repo":{"id":31792824,"node_id":"MDEwOlJlcG9zaXRvcnkzMTc5MjgyNA==","name":"flutter","full_name":"flutter/flutter","owner":{"login":"flutter","id":14101776,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTAxNzc2","avatar_url":"https://avatars3.githubusercontent.com/u/14101776?v=4","gravatar_id":"","url":"https://api.github.com/users/flutter","html_url":"https://github.com/flutter","followers_url":"https://api.github.com/users/flutter/followers","following_url":"https://api.github.com/users/flutter/following{/other_user}","gists_url":"https://api.github.com/users/flutter/gists{/gist_id}","starred_url":"https://api.github.com/users/flutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flutter/subscriptions","organizations_url":"https://api.github.com/users/flutter/orgs","repos_url":"https://api.github.com/users/flutter/repos","events_url":"https://api.github.com/users/flutter/events{/privacy}","received_events_url":"https://api.github.com/users/flutter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/flutter/flutter","description":"Flutter makes it easy and fast to build beautiful mobile apps.","fork":false,"url":"https://api.github.com/repos/flutter/flutter","forks_url":"https://api.github.com/repos/flutter/flutter/forks","keys_url":"https://api.github.com/repos/flutter/flutter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flutter/flutter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flutter/flutter/teams","hooks_url":"https://api.github.com/repos/flutter/flutter/hooks","issue_events_url":"https://api.github.com/repos/flutter/flutter/issues/events{/number}","events_url":"https://api.github.com/repos/flutter/flutter/events","assignees_url":"https://api.github.com/repos/flutter/flutter/assignees{/user}","branches_url":"https://api.github.com/repos/flutter/flutter/branches{/branch}","tags_url":"https://api.github.com/repos/flutter/flutter/tags","blobs_url":"https://api.github.com/repos/flutter/flutter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flutter/flutter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flutter/flutter/git/refs{/sha}","trees_url":"https://api.github.com/repos/flutter/flutter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flutter/flutter/statuses/{sha}","languages_url":"https://api.github.com/repos/flutter/flutter/languages","stargazers_url":"https://api.github.com/repos/flutter/flutter/stargazers","contributors_url":"https://api.github.com/repos/flutter/flutter/contributors","subscribers_url":"https://api.github.com/repos/flutter/flutter/subscribers","subscription_url":"https://api.github.com/repos/flutter/flutter/subscription","commits_url":"https://api.github.com/repos/flutter/flutter/commits{/sha}","git_commits_url":"https://api.github.com/repos/flutter/flutter/git/commits{/sha}","comments_url":"https://api.github.com/repos/flutter/flutter/comments{/number}","issue_comment_url":"https://api.github.com/repos/flutter/flutter/issues/comments{/number}","contents_url":"https://api.github.com/repos/flutter/flutter/contents/{+path}","compare_url":"https://api.github.com/repos/flutter/flutter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flutter/flutter/merges","archive_url":"https://api.github.com/repos/flutter/flutter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flutter/flutter/downloads","issues_url":"https://api.github.com/repos/flutter/flutter/issues{/number}","pulls_url":"https://api.github.com/repos/flutter/flutter/pulls{/number}","milestones_url":"https://api.github.com/repos/flutter/flutter/milestones{/number}","notifications_url":"https://api.github.com/repos/flutter/flutter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flutter/flutter/labels{/name}","releases_url":"https://api.github.com/repos/flutter/flutter/releases{/id}","deployments_url":"https://api.github.com/repos/flutter/flutter/deployments","created_at":"2015-03-06T22:54:58Z","updated_at":"2018-08-22T22:07:12Z","pushed_at":"2018-08-22T22:36:43Z","git_url":"git://github.com/flutter/flutter.git","ssh_url":"git@github.com:flutter/flutter.git","clone_url":"https://github.com/flutter/flutter.git","svn_url":"https://github.com/flutter/flutter","homepage":"https://flutter.io","size":44575,"stargazers_count":35706,"watchers_count":35706,"language":"Dart","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3335,"mirror_url":null,"archived":false,"open_issues_count":3721,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":3335,"open_issues":3721,"watchers":35706,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/flutter/flutter/pulls/20838"},"html":{"href":"https://github.com/flutter/flutter/pull/20838"},"issue":{"href":"https://api.github.com/repos/flutter/flutter/issues/20838"},"comments":{"href":"https://api.github.com/repos/flutter/flutter/issues/20838/comments"},"review_comments":{"href":"https://api.github.com/repos/flutter/flutter/pulls/20838/comments"},"review_comment":{"href":"https://api.github.com/repos/flutter/flutter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/flutter/flutter/pulls/20838/commits"},"statuses":{"href":"https://api.github.com/repos/flutter/flutter/statuses/29d5c4fa08606f8b84d4166a863023eda71f19e5"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"amirh"}}