{"action":"opened","number":26,"pull_request":{"url":"https://api.github.com/repos/davidmarne/flutter_built_redux/pulls/26","id":184735598,"html_url":"https://github.com/davidmarne/flutter_built_redux/pull/26","diff_url":"https://github.com/davidmarne/flutter_built_redux/pull/26.diff","patch_url":"https://github.com/davidmarne/flutter_built_redux/pull/26.patch","issue_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/issues/26","number":26,"state":"open","locked":false,"title":"added init function to StoreConnector","user":{"login":"ga6559","id":38429316,"avatar_url":"https://avatars2.githubusercontent.com/u/38429316?v=4","gravatar_id":"","url":"https://api.github.com/users/ga6559","html_url":"https://github.com/ga6559","followers_url":"https://api.github.com/users/ga6559/followers","following_url":"https://api.github.com/users/ga6559/following{/other_user}","gists_url":"https://api.github.com/users/ga6559/gists{/gist_id}","starred_url":"https://api.github.com/users/ga6559/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga6559/subscriptions","organizations_url":"https://api.github.com/users/ga6559/orgs","repos_url":"https://api.github.com/users/ga6559/repos","events_url":"https://api.github.com/users/ga6559/events{/privacy}","received_events_url":"https://api.github.com/users/ga6559/received_events","type":"User","site_admin":false},"body":"Make binding store listeners in widgets easier. #25 \r\n\r\nWe can use it like that:\r\n\r\n```dart\r\nclass AppScreen extends StoreConnector<App, AppActions, App> {\r\n  @override\r\n  Counter connect(App state) => state;\r\n\r\n  @override\r\n  void init(BuildContext context, Store store) {\r\n    store\r\n        .actionStream(AppActionsNames.dataCorrupted)\r\n        .listen((change) {\r\n      Scaffold\r\n          .of(context)\r\n          .showSnackBar(SnackBar(content: Text('Data Corrupted')));\r\n    });\r\n  }\r\n\r\n  @override\r\n  Widget build(BuildContext context, Counter state, AppActions actions) {\r\n    return Scaffold(\r\n      appBar: AppBar(\r\n        title: Text('My App'),\r\n      ),\r\n      body: Text('Hello World')\r\n   );\r\n  }\r\n}\r\n```","created_at":"2018-04-27T21:49:46Z","updated_at":"2018-04-27T21:49:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/pulls/26/commits","review_comments_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/pulls/26/comments","review_comment_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/pulls/comments{/number}","comments_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/issues/26/comments","statuses_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/statuses/f4a12b76daf7446019bec8bf49e93864d5065ed3","head":{"label":"ga6559:master","ref":"master","sha":"f4a12b76daf7446019bec8bf49e93864d5065ed3","user":{"login":"ga6559","id":38429316,"avatar_url":"https://avatars2.githubusercontent.com/u/38429316?v=4","gravatar_id":"","url":"https://api.github.com/users/ga6559","html_url":"https://github.com/ga6559","followers_url":"https://api.github.com/users/ga6559/followers","following_url":"https://api.github.com/users/ga6559/following{/other_user}","gists_url":"https://api.github.com/users/ga6559/gists{/gist_id}","starred_url":"https://api.github.com/users/ga6559/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga6559/subscriptions","organizations_url":"https://api.github.com/users/ga6559/orgs","repos_url":"https://api.github.com/users/ga6559/repos","events_url":"https://api.github.com/users/ga6559/events{/privacy}","received_events_url":"https://api.github.com/users/ga6559/received_events","type":"User","site_admin":false},"repo":{"id":131347510,"name":"flutter_built_redux","full_name":"ga6559/flutter_built_redux","owner":{"login":"ga6559","id":38429316,"avatar_url":"https://avatars2.githubusercontent.com/u/38429316?v=4","gravatar_id":"","url":"https://api.github.com/users/ga6559","html_url":"https://github.com/ga6559","followers_url":"https://api.github.com/users/ga6559/followers","following_url":"https://api.github.com/users/ga6559/following{/other_user}","gists_url":"https://api.github.com/users/ga6559/gists{/gist_id}","starred_url":"https://api.github.com/users/ga6559/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga6559/subscriptions","organizations_url":"https://api.github.com/users/ga6559/orgs","repos_url":"https://api.github.com/users/ga6559/repos","events_url":"https://api.github.com/users/ga6559/events{/privacy}","received_events_url":"https://api.github.com/users/ga6559/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ga6559/flutter_built_redux","description":"Built_redux provider for Flutter.","fork":true,"url":"https://api.github.com/repos/ga6559/flutter_built_redux","forks_url":"https://api.github.com/repos/ga6559/flutter_built_redux/forks","keys_url":"https://api.github.com/repos/ga6559/flutter_built_redux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga6559/flutter_built_redux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga6559/flutter_built_redux/teams","hooks_url":"https://api.github.com/repos/ga6559/flutter_built_redux/hooks","issue_events_url":"https://api.github.com/repos/ga6559/flutter_built_redux/issues/events{/number}","events_url":"https://api.github.com/repos/ga6559/flutter_built_redux/events","assignees_url":"https://api.github.com/repos/ga6559/flutter_built_redux/assignees{/user}","branches_url":"https://api.github.com/repos/ga6559/flutter_built_redux/branches{/branch}","tags_url":"https://api.github.com/repos/ga6559/flutter_built_redux/tags","blobs_url":"https://api.github.com/repos/ga6559/flutter_built_redux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga6559/flutter_built_redux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga6559/flutter_built_redux/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga6559/flutter_built_redux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga6559/flutter_built_redux/statuses/{sha}","languages_url":"https://api.github.com/repos/ga6559/flutter_built_redux/languages","stargazers_url":"https://api.github.com/repos/ga6559/flutter_built_redux/stargazers","contributors_url":"https://api.github.com/repos/ga6559/flutter_built_redux/contributors","subscribers_url":"https://api.github.com/repos/ga6559/flutter_built_redux/subscribers","subscription_url":"https://api.github.com/repos/ga6559/flutter_built_redux/subscription","commits_url":"https://api.github.com/repos/ga6559/flutter_built_redux/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga6559/flutter_built_redux/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga6559/flutter_built_redux/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga6559/flutter_built_redux/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga6559/flutter_built_redux/contents/{+path}","compare_url":"https://api.github.com/repos/ga6559/flutter_built_redux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga6559/flutter_built_redux/merges","archive_url":"https://api.github.com/repos/ga6559/flutter_built_redux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga6559/flutter_built_redux/downloads","issues_url":"https://api.github.com/repos/ga6559/flutter_built_redux/issues{/number}","pulls_url":"https://api.github.com/repos/ga6559/flutter_built_redux/pulls{/number}","milestones_url":"https://api.github.com/repos/ga6559/flutter_built_redux/milestones{/number}","notifications_url":"https://api.github.com/repos/ga6559/flutter_built_redux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga6559/flutter_built_redux/labels{/name}","releases_url":"https://api.github.com/repos/ga6559/flutter_built_redux/releases{/id}","deployments_url":"https://api.github.com/repos/ga6559/flutter_built_redux/deployments","created_at":"2018-04-27T21:43:03Z","updated_at":"2018-04-27T21:45:08Z","pushed_at":"2018-04-27T21:45:07Z","git_url":"git://github.com/ga6559/flutter_built_redux.git","ssh_url":"git@github.com:ga6559/flutter_built_redux.git","clone_url":"https://github.com/ga6559/flutter_built_redux.git","svn_url":"https://github.com/ga6559/flutter_built_redux","homepage":null,"size":92,"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":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"davidmarne:master","ref":"master","sha":"7c64708b551f04e2dec908e5cc5d651daae3e158","user":{"login":"davidmarne","id":1421460,"avatar_url":"https://avatars3.githubusercontent.com/u/1421460?v=4","gravatar_id":"","url":"https://api.github.com/users/davidmarne","html_url":"https://github.com/davidmarne","followers_url":"https://api.github.com/users/davidmarne/followers","following_url":"https://api.github.com/users/davidmarne/following{/other_user}","gists_url":"https://api.github.com/users/davidmarne/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmarne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmarne/subscriptions","organizations_url":"https://api.github.com/users/davidmarne/orgs","repos_url":"https://api.github.com/users/davidmarne/repos","events_url":"https://api.github.com/users/davidmarne/events{/privacy}","received_events_url":"https://api.github.com/users/davidmarne/received_events","type":"User","site_admin":false},"repo":{"id":91206236,"name":"flutter_built_redux","full_name":"davidmarne/flutter_built_redux","owner":{"login":"davidmarne","id":1421460,"avatar_url":"https://avatars3.githubusercontent.com/u/1421460?v=4","gravatar_id":"","url":"https://api.github.com/users/davidmarne","html_url":"https://github.com/davidmarne","followers_url":"https://api.github.com/users/davidmarne/followers","following_url":"https://api.github.com/users/davidmarne/following{/other_user}","gists_url":"https://api.github.com/users/davidmarne/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmarne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmarne/subscriptions","organizations_url":"https://api.github.com/users/davidmarne/orgs","repos_url":"https://api.github.com/users/davidmarne/repos","events_url":"https://api.github.com/users/davidmarne/events{/privacy}","received_events_url":"https://api.github.com/users/davidmarne/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davidmarne/flutter_built_redux","description":"Built_redux provider for Flutter.","fork":false,"url":"https://api.github.com/repos/davidmarne/flutter_built_redux","forks_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/forks","keys_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/teams","hooks_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/hooks","issue_events_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/issues/events{/number}","events_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/events","assignees_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/assignees{/user}","branches_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/branches{/branch}","tags_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/tags","blobs_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/git/refs{/sha}","trees_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/statuses/{sha}","languages_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/languages","stargazers_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/stargazers","contributors_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/contributors","subscribers_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/subscribers","subscription_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/subscription","commits_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/commits{/sha}","git_commits_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/git/commits{/sha}","comments_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/comments{/number}","issue_comment_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/issues/comments{/number}","contents_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/contents/{+path}","compare_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/merges","archive_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/downloads","issues_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/issues{/number}","pulls_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/pulls{/number}","milestones_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/milestones{/number}","notifications_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/labels{/name}","releases_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/releases{/id}","deployments_url":"https://api.github.com/repos/davidmarne/flutter_built_redux/deployments","created_at":"2017-05-13T22:25:55Z","updated_at":"2018-04-27T16:02:12Z","pushed_at":"2018-03-02T03:30:49Z","git_url":"git://github.com/davidmarne/flutter_built_redux.git","ssh_url":"git@github.com:davidmarne/flutter_built_redux.git","clone_url":"https://github.com/davidmarne/flutter_built_redux.git","svn_url":"https://github.com/davidmarne/flutter_built_redux","homepage":null,"size":92,"stargazers_count":33,"watchers_count":33,"language":"Dart","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":5,"open_issues":2,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/davidmarne/flutter_built_redux/pulls/26"},"html":{"href":"https://github.com/davidmarne/flutter_built_redux/pull/26"},"issue":{"href":"https://api.github.com/repos/davidmarne/flutter_built_redux/issues/26"},"comments":{"href":"https://api.github.com/repos/davidmarne/flutter_built_redux/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/davidmarne/flutter_built_redux/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/davidmarne/flutter_built_redux/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/davidmarne/flutter_built_redux/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/davidmarne/flutter_built_redux/statuses/f4a12b76daf7446019bec8bf49e93864d5065ed3"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":12,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"ga6559"}}