{"action":"created","comment":{"url":"https://api.github.com/repos/flutter/flutter/pulls/comments/171685230","pull_request_review_id":100582828,"id":171685230,"diff_hunk":"@@ -222,6 +226,12 @@ class Material extends StatefulWidget {\n   /// zero.\n   final ShapeBorder shape;\n \n+  /// Defines the duration of animated changes for [shape], [elevation],\n+  /// and [shadowColor].\n+  ///\n+  /// The default value is [kThemeChangeDuration].\n+  final Duration duration;","path":"packages/flutter/lib/src/material/material.dart","position":64,"original_position":64,"commit_id":"39c5799c7f2563b85371420a0dbd64ba61fc822d","original_commit_id":"39c5799c7f2563b85371420a0dbd64ba61fc822d","user":{"login":"HansMuller","id":1377460,"avatar_url":"https://avatars2.githubusercontent.com/u/1377460?v=4","gravatar_id":"","url":"https://api.github.com/users/HansMuller","html_url":"https://github.com/HansMuller","followers_url":"https://api.github.com/users/HansMuller/followers","following_url":"https://api.github.com/users/HansMuller/following{/other_user}","gists_url":"https://api.github.com/users/HansMuller/gists{/gist_id}","starred_url":"https://api.github.com/users/HansMuller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HansMuller/subscriptions","organizations_url":"https://api.github.com/users/HansMuller/orgs","repos_url":"https://api.github.com/users/HansMuller/repos","events_url":"https://api.github.com/users/HansMuller/events{/privacy}","received_events_url":"https://api.github.com/users/HansMuller/received_events","type":"User","site_admin":false},"body":"I used animationDuration","created_at":"2018-03-01T20:32:18Z","updated_at":"2018-03-01T20:32:18Z","html_url":"https://github.com/flutter/flutter/pull/14939#discussion_r171685230","pull_request_url":"https://api.github.com/repos/flutter/flutter/pulls/14939","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/flutter/flutter/pulls/comments/171685230"},"html":{"href":"https://github.com/flutter/flutter/pull/14939#discussion_r171685230"},"pull_request":{"href":"https://api.github.com/repos/flutter/flutter/pulls/14939"}},"in_reply_to_id":171382611},"pull_request":{"url":"https://api.github.com/repos/flutter/flutter/pulls/14939","id":171840502,"html_url":"https://github.com/flutter/flutter/pull/14939","diff_url":"https://github.com/flutter/flutter/pull/14939.diff","patch_url":"https://github.com/flutter/flutter/pull/14939.patch","issue_url":"https://api.github.com/repos/flutter/flutter/issues/14939","number":14939,"state":"open","locked":false,"title":"Added Material OutlineButton","user":{"login":"HansMuller","id":1377460,"avatar_url":"https://avatars2.githubusercontent.com/u/1377460?v=4","gravatar_id":"","url":"https://api.github.com/users/HansMuller","html_url":"https://github.com/HansMuller","followers_url":"https://api.github.com/users/HansMuller/followers","following_url":"https://api.github.com/users/HansMuller/following{/other_user}","gists_url":"https://api.github.com/users/HansMuller/gists{/gist_id}","starred_url":"https://api.github.com/users/HansMuller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HansMuller/subscriptions","organizations_url":"https://api.github.com/users/HansMuller/orgs","repos_url":"https://api.github.com/users/HansMuller/repos","events_url":"https://api.github.com/users/HansMuller/events{/privacy}","received_events_url":"https://api.github.com/users/HansMuller/received_events","type":"User","site_admin":false},"body":"Adds a new button whose appearance is midway between `FlatButton` and `RaisedButton`.\r\n\r\nAn enabled `OutlineButton` looks like a flat button with a border. The interior of the button is transparent and, by default, the border is drawn with a (very) light shade of grey.\r\n\r\n![outline_button](https://user-images.githubusercontent.com/1377460/36807672-5c86eb44-1c78-11e8-85c5-04006ee3bbe2.png)\r\n\r\nAll buttons inherit their shape and colors from the Material `Theme` and its `ButtonTheme`. In this example the Theme was configured about like this:\r\n\r\n```dart\r\nnew Theme(\r\n  data: new ThemeData(\r\n    primarySwatch: Colors.deepPurple,\r\n    brightness: Brightness.light,\r\n    buttonColor: Colors.deepPurple[500],\r\n    splashColor: Colors.white24,\r\n    splashFactory: InkRipple.splashFactory,\r\n    buttonTheme: new ButtonThemeData(\r\n      textTheme: ButtonTextTheme.primary,\r\n    ),\r\n  ),\r\n  child ...\r\n\r\n    new OutlineButton(\r\n      onPressed: () { },\r\n      child: const Text('OUTLINE BUTTON'),\r\n    ),\r\n\r\n    new OutlineButton.icon(\r\n      onPressed: () { },\r\n      icon: const Icon(Icons.add, size: 18.0),\r\n      label: const Text('ICON OUTLINE BUTTON'),\r\n    ),\r\n\r\n    new OutlineButton(\r\n     onPressed: () {},\r\n     shape: new RoundedRectangleBorder(\r\n       borderRadius: new BorderRadius.circular(24.0),\r\n      ),\r\n      child: const Text('OUTLINE BUTTON'),\r\n    ),\r\n)\r\n```\r\n\r\nWhen pressed, the interior of an outline button becomes opaque and then its elevation increases, which causes a drop shadow to appear.\r\n\r\n![outline_button_pressed](https://user-images.githubusercontent.com/1377460/36807686-64ea55c8-1c78-11e8-9057-eca4a42dad9c.png)\r\n\r\nThe third button in the example specified a \"stadium\" shape. A button's shape defines its clip and shadow boundary. Outline buttons paint a border around the shape.\r\n\r\n![outline_button_shape](https://user-images.githubusercontent.com/1377460/36807698-69aea226-1c78-11e8-9735-c258eb3f8345.png)\r\n","created_at":"2018-02-28T02:31:42Z","updated_at":"2018-03-01T20:32:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3e87ff7515c7cee15bd35943c312a257d56c75a5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":487496476,"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/14939/commits","review_comments_url":"https://api.github.com/repos/flutter/flutter/pulls/14939/comments","review_comment_url":"https://api.github.com/repos/flutter/flutter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/14939/comments","statuses_url":"https://api.github.com/repos/flutter/flutter/statuses/39c5799c7f2563b85371420a0dbd64ba61fc822d","head":{"label":"HansMuller:outline_button","ref":"outline_button","sha":"39c5799c7f2563b85371420a0dbd64ba61fc822d","user":{"login":"HansMuller","id":1377460,"avatar_url":"https://avatars2.githubusercontent.com/u/1377460?v=4","gravatar_id":"","url":"https://api.github.com/users/HansMuller","html_url":"https://github.com/HansMuller","followers_url":"https://api.github.com/users/HansMuller/followers","following_url":"https://api.github.com/users/HansMuller/following{/other_user}","gists_url":"https://api.github.com/users/HansMuller/gists{/gist_id}","starred_url":"https://api.github.com/users/HansMuller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HansMuller/subscriptions","organizations_url":"https://api.github.com/users/HansMuller/orgs","repos_url":"https://api.github.com/users/HansMuller/repos","events_url":"https://api.github.com/users/HansMuller/events{/privacy}","received_events_url":"https://api.github.com/users/HansMuller/received_events","type":"User","site_admin":false},"repo":{"id":45849791,"name":"flutter","full_name":"HansMuller/flutter","owner":{"login":"HansMuller","id":1377460,"avatar_url":"https://avatars2.githubusercontent.com/u/1377460?v=4","gravatar_id":"","url":"https://api.github.com/users/HansMuller","html_url":"https://github.com/HansMuller","followers_url":"https://api.github.com/users/HansMuller/followers","following_url":"https://api.github.com/users/HansMuller/following{/other_user}","gists_url":"https://api.github.com/users/HansMuller/gists{/gist_id}","starred_url":"https://api.github.com/users/HansMuller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HansMuller/subscriptions","organizations_url":"https://api.github.com/users/HansMuller/orgs","repos_url":"https://api.github.com/users/HansMuller/repos","events_url":"https://api.github.com/users/HansMuller/events{/privacy}","received_events_url":"https://api.github.com/users/HansMuller/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/HansMuller/flutter","description":"The Flutter framework","fork":true,"url":"https://api.github.com/repos/HansMuller/flutter","forks_url":"https://api.github.com/repos/HansMuller/flutter/forks","keys_url":"https://api.github.com/repos/HansMuller/flutter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HansMuller/flutter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HansMuller/flutter/teams","hooks_url":"https://api.github.com/repos/HansMuller/flutter/hooks","issue_events_url":"https://api.github.com/repos/HansMuller/flutter/issues/events{/number}","events_url":"https://api.github.com/repos/HansMuller/flutter/events","assignees_url":"https://api.github.com/repos/HansMuller/flutter/assignees{/user}","branches_url":"https://api.github.com/repos/HansMuller/flutter/branches{/branch}","tags_url":"https://api.github.com/repos/HansMuller/flutter/tags","blobs_url":"https://api.github.com/repos/HansMuller/flutter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HansMuller/flutter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HansMuller/flutter/git/refs{/sha}","trees_url":"https://api.github.com/repos/HansMuller/flutter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HansMuller/flutter/statuses/{sha}","languages_url":"https://api.github.com/repos/HansMuller/flutter/languages","stargazers_url":"https://api.github.com/repos/HansMuller/flutter/stargazers","contributors_url":"https://api.github.com/repos/HansMuller/flutter/contributors","subscribers_url":"https://api.github.com/repos/HansMuller/flutter/subscribers","subscription_url":"https://api.github.com/repos/HansMuller/flutter/subscription","commits_url":"https://api.github.com/repos/HansMuller/flutter/commits{/sha}","git_commits_url":"https://api.github.com/repos/HansMuller/flutter/git/commits{/sha}","comments_url":"https://api.github.com/repos/HansMuller/flutter/comments{/number}","issue_comment_url":"https://api.github.com/repos/HansMuller/flutter/issues/comments{/number}","contents_url":"https://api.github.com/repos/HansMuller/flutter/contents/{+path}","compare_url":"https://api.github.com/repos/HansMuller/flutter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HansMuller/flutter/merges","archive_url":"https://api.github.com/repos/HansMuller/flutter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HansMuller/flutter/downloads","issues_url":"https://api.github.com/repos/HansMuller/flutter/issues{/number}","pulls_url":"https://api.github.com/repos/HansMuller/flutter/pulls{/number}","milestones_url":"https://api.github.com/repos/HansMuller/flutter/milestones{/number}","notifications_url":"https://api.github.com/repos/HansMuller/flutter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HansMuller/flutter/labels{/name}","releases_url":"https://api.github.com/repos/HansMuller/flutter/releases{/id}","deployments_url":"https://api.github.com/repos/HansMuller/flutter/deployments","created_at":"2015-11-09T16:11:46Z","updated_at":"2015-11-09T16:11:50Z","pushed_at":"2018-02-28T19:18:41Z","git_url":"git://github.com/HansMuller/flutter.git","ssh_url":"git@github.com:HansMuller/flutter.git","clone_url":"https://github.com/HansMuller/flutter.git","svn_url":"https://github.com/HansMuller/flutter","homepage":"http://flutter.io","size":35545,"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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"flutter:master","ref":"master","sha":"fbf68bbc6daa7a4f0b6f7b738b0134a318c4974b","user":{"login":"flutter","id":14101776,"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,"name":"flutter","full_name":"flutter/flutter","owner":{"login":"flutter","id":14101776,"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-03-01T20:28:22Z","pushed_at":"2018-03-01T20:24:26Z","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":35051,"stargazers_count":13991,"watchers_count":13991,"language":"Dart","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1179,"mirror_url":null,"archived":false,"open_issues_count":2347,"license":null,"forks":1179,"open_issues":2347,"watchers":13991,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/flutter/flutter/pulls/14939"},"html":{"href":"https://github.com/flutter/flutter/pull/14939"},"issue":{"href":"https://api.github.com/repos/flutter/flutter/issues/14939"},"comments":{"href":"https://api.github.com/repos/flutter/flutter/issues/14939/comments"},"review_comments":{"href":"https://api.github.com/repos/flutter/flutter/pulls/14939/comments"},"review_comment":{"href":"https://api.github.com/repos/flutter/flutter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/flutter/flutter/pulls/14939/commits"},"statuses":{"href":"https://api.github.com/repos/flutter/flutter/statuses/39c5799c7f2563b85371420a0dbd64ba61fc822d"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"HansMuller"}}