{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/3354","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/3354/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/3354/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/3354/events","html_url":"https://github.com/flutter/flutter/pull/3354","id":148744196,"number":3354,"title":"Refresh indicator","user":{"login":"HansMuller","id":1377460,"avatar_url":"https://avatars.githubusercontent.com/u/1377460?v=3","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-15T19:10:09Z","updated_at":"2016-04-15T21:53:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/flutter/flutter/pulls/3354","html_url":"https://github.com/flutter/flutter/pull/3354","diff_url":"https://github.com/flutter/flutter/pull/3354.diff","patch_url":"https://github.com/flutter/flutter/pull/3354.patch"},"body":"Adds a RefreshIndicator widget that supports the Material \"swipe to refresh\" idiom.\r\n\r\nAdded an over-scroll gallery demo that shows this widget and the existing OverscrollIndicator.\r\n\r\nThis initial version has some limitations:\r\n- It always appears at the top and bottom of its scrollable. This should be configurable and it should default to just appearing at the top.\r\n- During the drag phase, the refresh indicator should only animate when the drag is moving.\r\n- While the refresh callback is running, the refresh indicator's arrowhead shouldn't appear.\r\n- It should be possible for the refresh callback to update the indicator with its actual progress.\r\n- The refresh indicator should disappear \"when the user navigates away from the refreshing content\".\r\n- Currently the duration of overscrolls is extended because all drags end in a fling. Both OverscrollIndicator and RefreshIndicator need to cause the Scrollable's ScrollBehavior to set overscroll fling velocities to zero.\r\n\r\nSee https://www.google.com/design/spec/patterns/swipe-to-refresh.html\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/210661349","html_url":"https://github.com/flutter/flutter/pull/3354#issuecomment-210661349","issue_url":"https://api.github.com/repos/flutter/flutter/issues/3354","id":210661349,"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},"created_at":"2016-04-15T21:53:35Z","updated_at":"2016-04-15T21:53:35Z","body":"This needs tests."}}