{"action":"closed","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/5483","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/5483/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/5483/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/5483/events","html_url":"https://github.com/flutter/flutter/issues/5483","id":171968926,"number":5483,"title":"MediaQuery.of(context).padding can return EdgeInsets.zero","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":[{"url":"https://api.github.com/repos/flutter/flutter/labels/affects:%20framework","name":"affects: framework","color":"207de5"},{"url":"https://api.github.com/repos/flutter/flutter/labels/%E2%9A%A0%20bug","name":"⚠ bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-18T18:30:30Z","updated_at":"2016-08-18T22:13:19Z","closed_at":"2016-08-18T22:13:19Z","body":"When running on the Android emulator and occasionally when running Android native, MediaQuery.of(context).padding.top is zero the first time it's called at Widget initState() time. Calling it later, e.g. at build() time instead appears to consistently return the status bar's actual height.\r\n\r\nThis came up on the gallery demo's home screen, see https://github.com/flutter/flutter/issues/5368\r\n"}}
{"actor":{"display_login":"HansMuller"}}