{"action":"created","comment":{"url":"https://api.github.com/repos/flutter/flutter/pulls/comments/75186451","id":75186451,"diff_hunk":"@@ -0,0 +1,28 @@\n+// Copyright 2016 The Chromium Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style license that can be\n+// found in the LICENSE file.\n+\n+import 'package:flutter/material.dart';\n+import 'package:flutter_test/flutter_test.dart';\n+\n+void main() {\n+  testWidgets('ExpandIcon test', (WidgetTester tester) async {\n+    bool expanded = false;\n+\n+    await tester.pumpWidget(\n+      new Material(\n+        child: new Center(\n+          child: new ExpandIcon(\n+            onPressed: (bool isExpanded) {\n+              expanded = !expanded;\n+            }\n+          )\n+        )\n+      )\n+    );\n+\n+    expect(expanded, isFalse);\n+    await tester.tap(find.byType(ExpandIcon));\n+    expect(expanded, isTrue);","path":"packages/flutter/test/material/expand_icon_test.dart","position":26,"original_position":26,"commit_id":"45ec0b6e423dc7bd70561a5e1ab5e350bb7a045d","original_commit_id":"ca1180039c9f5f46b8cf50a701167c076450df02","user":{"login":"Hixie","id":551196,"avatar_url":"https://avatars.githubusercontent.com/u/551196?v=3","gravatar_id":"","url":"https://api.github.com/users/Hixie","html_url":"https://github.com/Hixie","followers_url":"https://api.github.com/users/Hixie/followers","following_url":"https://api.github.com/users/Hixie/following{/other_user}","gists_url":"https://api.github.com/users/Hixie/gists{/gist_id}","starred_url":"https://api.github.com/users/Hixie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hixie/subscriptions","organizations_url":"https://api.github.com/users/Hixie/orgs","repos_url":"https://api.github.com/users/Hixie/repos","events_url":"https://api.github.com/users/Hixie/events{/privacy}","received_events_url":"https://api.github.com/users/Hixie/received_events","type":"User","site_admin":false},"body":"test that it handles being disabled","created_at":"2016-08-17T19:06:29Z","updated_at":"2016-08-17T19:06:29Z","html_url":"https://github.com/flutter/flutter/pull/5463#discussion_r75186451","pull_request_url":"https://api.github.com/repos/flutter/flutter/pulls/5463","_links":{"self":{"href":"https://api.github.com/repos/flutter/flutter/pulls/comments/75186451"},"html":{"href":"https://github.com/flutter/flutter/pull/5463#discussion_r75186451"},"pull_request":{"href":"https://api.github.com/repos/flutter/flutter/pulls/5463"}}},"pull_request":{"url":"https://api.github.com/repos/flutter/flutter/pulls/5463","id":81690947,"html_url":"https://github.com/flutter/flutter/pull/5463","diff_url":"https://github.com/flutter/flutter/pull/5463.diff","patch_url":"https://github.com/flutter/flutter/pull/5463.patch","issue_url":"https://api.github.com/repos/flutter/flutter/issues/5463","number":5463,"state":"open","locked":false,"title":"Added ExpandIcon widget.","user":{"login":"dragostis","id":4136413,"avatar_url":"https://avatars.githubusercontent.com/u/4136413?v=3","gravatar_id":"","url":"https://api.github.com/users/dragostis","html_url":"https://github.com/dragostis","followers_url":"https://api.github.com/users/dragostis/followers","following_url":"https://api.github.com/users/dragostis/following{/other_user}","gists_url":"https://api.github.com/users/dragostis/gists{/gist_id}","starred_url":"https://api.github.com/users/dragostis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dragostis/subscriptions","organizations_url":"https://api.github.com/users/dragostis/orgs","repos_url":"https://api.github.com/users/dragostis/repos","events_url":"https://api.github.com/users/dragostis/events{/privacy}","received_events_url":"https://api.github.com/users/dragostis/received_events","type":"User","site_admin":false},"body":"Added a widget that automaitcally rotates the expansion icon and\r\noffers a callback interface that captures presses.","created_at":"2016-08-17T18:18:23Z","updated_at":"2016-08-17T19:06:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"298dc48c442d4cedcc64bd47aa696a407d9ca8e9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/flutter/flutter/pulls/5463/commits","review_comments_url":"https://api.github.com/repos/flutter/flutter/pulls/5463/comments","review_comment_url":"https://api.github.com/repos/flutter/flutter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/5463/comments","statuses_url":"https://api.github.com/repos/flutter/flutter/statuses/45ec0b6e423dc7bd70561a5e1ab5e350bb7a045d","head":{"label":"dragostis:expand-icon","ref":"expand-icon","sha":"45ec0b6e423dc7bd70561a5e1ab5e350bb7a045d","user":{"login":"dragostis","id":4136413,"avatar_url":"https://avatars.githubusercontent.com/u/4136413?v=3","gravatar_id":"","url":"https://api.github.com/users/dragostis","html_url":"https://github.com/dragostis","followers_url":"https://api.github.com/users/dragostis/followers","following_url":"https://api.github.com/users/dragostis/following{/other_user}","gists_url":"https://api.github.com/users/dragostis/gists{/gist_id}","starred_url":"https://api.github.com/users/dragostis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dragostis/subscriptions","organizations_url":"https://api.github.com/users/dragostis/orgs","repos_url":"https://api.github.com/users/dragostis/repos","events_url":"https://api.github.com/users/dragostis/events{/privacy}","received_events_url":"https://api.github.com/users/dragostis/received_events","type":"User","site_admin":false},"repo":{"id":64961784,"name":"flutter","full_name":"dragostis/flutter","owner":{"login":"dragostis","id":4136413,"avatar_url":"https://avatars.githubusercontent.com/u/4136413?v=3","gravatar_id":"","url":"https://api.github.com/users/dragostis","html_url":"https://github.com/dragostis","followers_url":"https://api.github.com/users/dragostis/followers","following_url":"https://api.github.com/users/dragostis/following{/other_user}","gists_url":"https://api.github.com/users/dragostis/gists{/gist_id}","starred_url":"https://api.github.com/users/dragostis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dragostis/subscriptions","organizations_url":"https://api.github.com/users/dragostis/orgs","repos_url":"https://api.github.com/users/dragostis/repos","events_url":"https://api.github.com/users/dragostis/events{/privacy}","received_events_url":"https://api.github.com/users/dragostis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dragostis/flutter","description":"Framework for building high-performance, high-fidelity iOS and Android apps.","fork":true,"url":"https://api.github.com/repos/dragostis/flutter","forks_url":"https://api.github.com/repos/dragostis/flutter/forks","keys_url":"https://api.github.com/repos/dragostis/flutter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dragostis/flutter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dragostis/flutter/teams","hooks_url":"https://api.github.com/repos/dragostis/flutter/hooks","issue_events_url":"https://api.github.com/repos/dragostis/flutter/issues/events{/number}","events_url":"https://api.github.com/repos/dragostis/flutter/events","assignees_url":"https://api.github.com/repos/dragostis/flutter/assignees{/user}","branches_url":"https://api.github.com/repos/dragostis/flutter/branches{/branch}","tags_url":"https://api.github.com/repos/dragostis/flutter/tags","blobs_url":"https://api.github.com/repos/dragostis/flutter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dragostis/flutter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dragostis/flutter/git/refs{/sha}","trees_url":"https://api.github.com/repos/dragostis/flutter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dragostis/flutter/statuses/{sha}","languages_url":"https://api.github.com/repos/dragostis/flutter/languages","stargazers_url":"https://api.github.com/repos/dragostis/flutter/stargazers","contributors_url":"https://api.github.com/repos/dragostis/flutter/contributors","subscribers_url":"https://api.github.com/repos/dragostis/flutter/subscribers","subscription_url":"https://api.github.com/repos/dragostis/flutter/subscription","commits_url":"https://api.github.com/repos/dragostis/flutter/commits{/sha}","git_commits_url":"https://api.github.com/repos/dragostis/flutter/git/commits{/sha}","comments_url":"https://api.github.com/repos/dragostis/flutter/comments{/number}","issue_comment_url":"https://api.github.com/repos/dragostis/flutter/issues/comments{/number}","contents_url":"https://api.github.com/repos/dragostis/flutter/contents/{+path}","compare_url":"https://api.github.com/repos/dragostis/flutter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dragostis/flutter/merges","archive_url":"https://api.github.com/repos/dragostis/flutter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dragostis/flutter/downloads","issues_url":"https://api.github.com/repos/dragostis/flutter/issues{/number}","pulls_url":"https://api.github.com/repos/dragostis/flutter/pulls{/number}","milestones_url":"https://api.github.com/repos/dragostis/flutter/milestones{/number}","notifications_url":"https://api.github.com/repos/dragostis/flutter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dragostis/flutter/labels{/name}","releases_url":"https://api.github.com/repos/dragostis/flutter/releases{/id}","deployments_url":"https://api.github.com/repos/dragostis/flutter/deployments","created_at":"2016-08-04T19:32:39Z","updated_at":"2016-08-04T19:32:41Z","pushed_at":"2016-08-17T19:04:51Z","git_url":"git://github.com/dragostis/flutter.git","ssh_url":"git@github.com:dragostis/flutter.git","clone_url":"https://github.com/dragostis/flutter.git","svn_url":"https://github.com/dragostis/flutter","homepage":"https://flutter.io","size":20860,"stargazers_count":0,"watchers_count":0,"language":"Dart","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"flutter:master","ref":"master","sha":"0892f6a50307fbee18ba67d93ed8f813b6eb4997","user":{"login":"flutter","id":14101776,"avatar_url":"https://avatars.githubusercontent.com/u/14101776?v=3","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,"name":"flutter","full_name":"flutter/flutter","owner":{"login":"flutter","id":14101776,"avatar_url":"https://avatars.githubusercontent.com/u/14101776?v=3","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":"Framework for building high-performance, high-fidelity iOS and Android 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":"2016-08-17T13:48:49Z","pushed_at":"2016-08-17T19:04:51Z","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":115314,"stargazers_count":3107,"watchers_count":3107,"language":"Dart","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":335,"mirror_url":null,"open_issues_count":1276,"forks":335,"open_issues":1276,"watchers":3107,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/flutter/flutter/pulls/5463"},"html":{"href":"https://github.com/flutter/flutter/pull/5463"},"issue":{"href":"https://api.github.com/repos/flutter/flutter/issues/5463"},"comments":{"href":"https://api.github.com/repos/flutter/flutter/issues/5463/comments"},"review_comments":{"href":"https://api.github.com/repos/flutter/flutter/pulls/5463/comments"},"review_comment":{"href":"https://api.github.com/repos/flutter/flutter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/flutter/flutter/pulls/5463/commits"},"statuses":{"href":"https://api.github.com/repos/flutter/flutter/statuses/45ec0b6e423dc7bd70561a5e1ab5e350bb7a045d"}}}}
{"actor":{"display_login":"Hixie"}}