{"action":"created","comment":{"url":"https://api.github.com/repos/flutter/flutter/pulls/comments/212486783","pull_request_review_id":149133293,"id":212486783,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjQ4Njc4Mw==","diff_hunk":"@@ -0,0 +1,358 @@\n+// Copyright 2017 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/widgets.dart';\n+\n+import 'colors.dart';\n+import 'localizations.dart';\n+import 'picker.dart';\n+\n+/// Default aesthetic values obtained by comparing with iOS pickers.\n+const double _kItemExtent = 32.0;\n+const double _kPickerWidth = 330.0;\n+/// Considers setting the default background color from the theme, in the future.\n+const Color _kBackgroundColor = CupertinoColors.white;\n+\n+\n+/// The iOS date picker has its width fixed to [_kPickerWidth] in all modes.\n+/// If the maximum width given to the picker is greater than [_kPickerWidth],\n+/// the leftmost and rightmost column will be extended equally so that the\n+/// widths match, and the picker is in the center.\n+///\n+/// If the maximum width given to the picker is smaller than [_kPickerWidth],\n+/// the picker's layout will be broken.\n+\n+\n+/// A countdown timer picker in iOS style.\n+///\n+/// This picker shows duration as hour, minute and second spinners. The duration\n+/// showed has to be non negative and is limited to 23 hours 59 minutes 59 seconds.\n+///\n+/// Example: [12 hours |  3 min |  0 sec]\n+class CupertinoCountdownTimerPicker extends StatefulWidget {\n+  /// Constructs an iOS style countdown timer picker.\n+  ///\n+  /// [onTimerDurationChanged] is the callback when the selected duration changes\n+  /// and must not be null.\n+  ///\n+  /// [initialTimerDuration] defaults to 0 second and is limited from 0 second\n+  /// to 23 hours 59 minutes 59 seconds. Only hour, minute, and second values\n+  /// are extracted from [initialTimerDuration], so specifying other fields like\n+  /// millisecond or microsecond will not affect anything.\n+  ///\n+  /// [minuteInterval] is the granularity of the minute spinner. Must be a factor","path":"packages/flutter/lib/src/cupertino/date_picker.dart","position":44,"original_position":44,"commit_id":"1f3d0a39df7dc6550d415af7f5c839bc71c6fa84","original_commit_id":"94049d2d55a73451b1c4e3bdf65c894190fd3875","user":{"login":"doxuanviet1996","id":9079172,"node_id":"MDQ6VXNlcjkwNzkxNzI=","avatar_url":"https://avatars0.githubusercontent.com/u/9079172?v=4","gravatar_id":"","url":"https://api.github.com/users/doxuanviet1996","html_url":"https://github.com/doxuanviet1996","followers_url":"https://api.github.com/users/doxuanviet1996/followers","following_url":"https://api.github.com/users/doxuanviet1996/following{/other_user}","gists_url":"https://api.github.com/users/doxuanviet1996/gists{/gist_id}","starred_url":"https://api.github.com/users/doxuanviet1996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doxuanviet1996/subscriptions","organizations_url":"https://api.github.com/users/doxuanviet1996/orgs","repos_url":"https://api.github.com/users/doxuanviet1996/repos","events_url":"https://api.github.com/users/doxuanviet1996/events{/privacy}","received_events_url":"https://api.github.com/users/doxuanviet1996/received_events","type":"User","site_admin":false},"body":"I believe it is. I have tried google for 'factors of 60' and the result is what I expect.","created_at":"2018-08-23T23:33:00Z","updated_at":"2018-08-23T23:33:00Z","html_url":"https://github.com/flutter/flutter/pull/20966#discussion_r212486783","pull_request_url":"https://api.github.com/repos/flutter/flutter/pulls/20966","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/flutter/flutter/pulls/comments/212486783"},"html":{"href":"https://github.com/flutter/flutter/pull/20966#discussion_r212486783"},"pull_request":{"href":"https://api.github.com/repos/flutter/flutter/pulls/20966"}},"in_reply_to_id":212478726},"pull_request":{"url":"https://api.github.com/repos/flutter/flutter/pulls/20966","id":210591158,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwNTkxMTU4","html_url":"https://github.com/flutter/flutter/pull/20966","diff_url":"https://github.com/flutter/flutter/pull/20966.diff","patch_url":"https://github.com/flutter/flutter/pull/20966.patch","issue_url":"https://api.github.com/repos/flutter/flutter/issues/20966","number":20966,"state":"open","locked":false,"title":"Add Cupertino Countdown Timer Picker","user":{"login":"doxuanviet1996","id":9079172,"node_id":"MDQ6VXNlcjkwNzkxNzI=","avatar_url":"https://avatars0.githubusercontent.com/u/9079172?v=4","gravatar_id":"","url":"https://api.github.com/users/doxuanviet1996","html_url":"https://github.com/doxuanviet1996","followers_url":"https://api.github.com/users/doxuanviet1996/followers","following_url":"https://api.github.com/users/doxuanviet1996/following{/other_user}","gists_url":"https://api.github.com/users/doxuanviet1996/gists{/gist_id}","starred_url":"https://api.github.com/users/doxuanviet1996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doxuanviet1996/subscriptions","organizations_url":"https://api.github.com/users/doxuanviet1996/orgs","repos_url":"https://api.github.com/users/doxuanviet1996/repos","events_url":"https://api.github.com/users/doxuanviet1996/events{/privacy}","received_events_url":"https://api.github.com/users/doxuanviet1996/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-23T22:17:18Z","updated_at":"2018-08-23T23:33:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fb701cbacee8c28d09a5ef4281cdb2dcf49ccffa","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/20966/commits","review_comments_url":"https://api.github.com/repos/flutter/flutter/pulls/20966/comments","review_comment_url":"https://api.github.com/repos/flutter/flutter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/20966/comments","statuses_url":"https://api.github.com/repos/flutter/flutter/statuses/1f3d0a39df7dc6550d415af7f5c839bc71c6fa84","head":{"label":"doxuanviet1996:countdown_timer","ref":"countdown_timer","sha":"1f3d0a39df7dc6550d415af7f5c839bc71c6fa84","user":{"login":"doxuanviet1996","id":9079172,"node_id":"MDQ6VXNlcjkwNzkxNzI=","avatar_url":"https://avatars0.githubusercontent.com/u/9079172?v=4","gravatar_id":"","url":"https://api.github.com/users/doxuanviet1996","html_url":"https://github.com/doxuanviet1996","followers_url":"https://api.github.com/users/doxuanviet1996/followers","following_url":"https://api.github.com/users/doxuanviet1996/following{/other_user}","gists_url":"https://api.github.com/users/doxuanviet1996/gists{/gist_id}","starred_url":"https://api.github.com/users/doxuanviet1996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doxuanviet1996/subscriptions","organizations_url":"https://api.github.com/users/doxuanviet1996/orgs","repos_url":"https://api.github.com/users/doxuanviet1996/repos","events_url":"https://api.github.com/users/doxuanviet1996/events{/privacy}","received_events_url":"https://api.github.com/users/doxuanviet1996/received_events","type":"User","site_admin":false},"repo":{"id":140634727,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA2MzQ3Mjc=","name":"flutter","full_name":"doxuanviet1996/flutter","owner":{"login":"doxuanviet1996","id":9079172,"node_id":"MDQ6VXNlcjkwNzkxNzI=","avatar_url":"https://avatars0.githubusercontent.com/u/9079172?v=4","gravatar_id":"","url":"https://api.github.com/users/doxuanviet1996","html_url":"https://github.com/doxuanviet1996","followers_url":"https://api.github.com/users/doxuanviet1996/followers","following_url":"https://api.github.com/users/doxuanviet1996/following{/other_user}","gists_url":"https://api.github.com/users/doxuanviet1996/gists{/gist_id}","starred_url":"https://api.github.com/users/doxuanviet1996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doxuanviet1996/subscriptions","organizations_url":"https://api.github.com/users/doxuanviet1996/orgs","repos_url":"https://api.github.com/users/doxuanviet1996/repos","events_url":"https://api.github.com/users/doxuanviet1996/events{/privacy}","received_events_url":"https://api.github.com/users/doxuanviet1996/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/doxuanviet1996/flutter","description":"Flutter makes it easy and fast to build beautiful mobile apps.","fork":true,"url":"https://api.github.com/repos/doxuanviet1996/flutter","forks_url":"https://api.github.com/repos/doxuanviet1996/flutter/forks","keys_url":"https://api.github.com/repos/doxuanviet1996/flutter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/doxuanviet1996/flutter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/doxuanviet1996/flutter/teams","hooks_url":"https://api.github.com/repos/doxuanviet1996/flutter/hooks","issue_events_url":"https://api.github.com/repos/doxuanviet1996/flutter/issues/events{/number}","events_url":"https://api.github.com/repos/doxuanviet1996/flutter/events","assignees_url":"https://api.github.com/repos/doxuanviet1996/flutter/assignees{/user}","branches_url":"https://api.github.com/repos/doxuanviet1996/flutter/branches{/branch}","tags_url":"https://api.github.com/repos/doxuanviet1996/flutter/tags","blobs_url":"https://api.github.com/repos/doxuanviet1996/flutter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/doxuanviet1996/flutter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/doxuanviet1996/flutter/git/refs{/sha}","trees_url":"https://api.github.com/repos/doxuanviet1996/flutter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/doxuanviet1996/flutter/statuses/{sha}","languages_url":"https://api.github.com/repos/doxuanviet1996/flutter/languages","stargazers_url":"https://api.github.com/repos/doxuanviet1996/flutter/stargazers","contributors_url":"https://api.github.com/repos/doxuanviet1996/flutter/contributors","subscribers_url":"https://api.github.com/repos/doxuanviet1996/flutter/subscribers","subscription_url":"https://api.github.com/repos/doxuanviet1996/flutter/subscription","commits_url":"https://api.github.com/repos/doxuanviet1996/flutter/commits{/sha}","git_commits_url":"https://api.github.com/repos/doxuanviet1996/flutter/git/commits{/sha}","comments_url":"https://api.github.com/repos/doxuanviet1996/flutter/comments{/number}","issue_comment_url":"https://api.github.com/repos/doxuanviet1996/flutter/issues/comments{/number}","contents_url":"https://api.github.com/repos/doxuanviet1996/flutter/contents/{+path}","compare_url":"https://api.github.com/repos/doxuanviet1996/flutter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/doxuanviet1996/flutter/merges","archive_url":"https://api.github.com/repos/doxuanviet1996/flutter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/doxuanviet1996/flutter/downloads","issues_url":"https://api.github.com/repos/doxuanviet1996/flutter/issues{/number}","pulls_url":"https://api.github.com/repos/doxuanviet1996/flutter/pulls{/number}","milestones_url":"https://api.github.com/repos/doxuanviet1996/flutter/milestones{/number}","notifications_url":"https://api.github.com/repos/doxuanviet1996/flutter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/doxuanviet1996/flutter/labels{/name}","releases_url":"https://api.github.com/repos/doxuanviet1996/flutter/releases{/id}","deployments_url":"https://api.github.com/repos/doxuanviet1996/flutter/deployments","created_at":"2018-07-11T22:45:58Z","updated_at":"2018-08-23T21:56:55Z","pushed_at":"2018-08-23T22:36:55Z","git_url":"git://github.com/doxuanviet1996/flutter.git","ssh_url":"git@github.com:doxuanviet1996/flutter.git","clone_url":"https://github.com/doxuanviet1996/flutter.git","svn_url":"https://github.com/doxuanviet1996/flutter","homepage":"https://flutter.io","size":44786,"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":"dc5a5c18a9fade0cd577a3be81113d3748ed4236","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-23T22:52:35Z","pushed_at":"2018-08-23T22:44:28Z","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":44630,"stargazers_count":35779,"watchers_count":35779,"language":"Dart","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3341,"mirror_url":null,"archived":false,"open_issues_count":3702,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":3341,"open_issues":3702,"watchers":35779,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/flutter/flutter/pulls/20966"},"html":{"href":"https://github.com/flutter/flutter/pull/20966"},"issue":{"href":"https://api.github.com/repos/flutter/flutter/issues/20966"},"comments":{"href":"https://api.github.com/repos/flutter/flutter/issues/20966/comments"},"review_comments":{"href":"https://api.github.com/repos/flutter/flutter/pulls/20966/comments"},"review_comment":{"href":"https://api.github.com/repos/flutter/flutter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/flutter/flutter/pulls/20966/commits"},"statuses":{"href":"https://api.github.com/repos/flutter/flutter/statuses/1f3d0a39df7dc6550d415af7f5c839bc71c6fa84"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"doxuanviet1996"}}