{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/1576","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/1576/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/1576/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/1576/events","html_url":"https://github.com/flutter/flutter/issues/1576","id":131137628,"number":1576,"title":"Padded Cards' shadows don't render correctly","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:%20material%20design","name":"affects: material design","color":"E91E63"},{"url":"https://api.github.com/repos/flutter/flutter/labels/%E2%9A%A0%20bug%20(regression)","name":"⚠ bug (regression)","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"abarth","id":112007,"avatar_url":"https://avatars.githubusercontent.com/u/112007?v=3","gravatar_id":"","url":"https://api.github.com/users/abarth","html_url":"https://github.com/abarth","followers_url":"https://api.github.com/users/abarth/followers","following_url":"https://api.github.com/users/abarth/following{/other_user}","gists_url":"https://api.github.com/users/abarth/gists{/gist_id}","starred_url":"https://api.github.com/users/abarth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abarth/subscriptions","organizations_url":"https://api.github.com/users/abarth/orgs","repos_url":"https://api.github.com/users/abarth/repos","events_url":"https://api.github.com/users/abarth/events{/privacy}","received_events_url":"https://api.github.com/users/abarth/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/flutter/flutter/milestones/1","html_url":"https://github.com/flutter/flutter/milestones/Flutter%201.0","labels_url":"https://api.github.com/repos/flutter/flutter/milestones/1/labels","id":1402982,"number":1,"title":"Flutter 1.0","description":"Support everything that's needed to make solid cross-platform mobile apps.\r\n- Internationalisation\r\n- Accessibility\r\n- Documentation\r\n- Performance\r\n- Security\r\n- Comprehensive widget feature set\r\n- Localisation\r\n- Good developer experience\r\n","creator":{"login":"FlutterIssues","id":15744020,"avatar_url":"https://avatars.githubusercontent.com/u/15744020?v=3","gravatar_id":"","url":"https://api.github.com/users/FlutterIssues","html_url":"https://github.com/FlutterIssues","followers_url":"https://api.github.com/users/FlutterIssues/followers","following_url":"https://api.github.com/users/FlutterIssues/following{/other_user}","gists_url":"https://api.github.com/users/FlutterIssues/gists{/gist_id}","starred_url":"https://api.github.com/users/FlutterIssues/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlutterIssues/subscriptions","organizations_url":"https://api.github.com/users/FlutterIssues/orgs","repos_url":"https://api.github.com/users/FlutterIssues/repos","events_url":"https://api.github.com/users/FlutterIssues/events{/privacy}","received_events_url":"https://api.github.com/users/FlutterIssues/received_events","type":"User","site_admin":false},"open_issues":537,"closed_issues":255,"state":"open","created_at":"2015-11-09T20:19:58Z","updated_at":"2016-02-25T21:46:33Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-02-03T20:07:57Z","updated_at":"2016-02-25T22:02:13Z","closed_at":null,"body":"The example below fails to render the shadows for the 2nd two cards. You can see as much in this screenshot:\r\n\r\n![screen](https://cloud.githubusercontent.com/assets/1377460/12795359/8b51b7e6-ca6e-11e5-9f5b-0eec0a732e2c.png)\r\n\r\n```\r\nimport 'package:flutter/material.dart';\r\nimport 'package:flutter/widgets.dart';\r\n\r\nclass BadCard extends StatelessComponent {\r\n\r\n  // Card shadows render corectly if either of the padding values below\r\n  // is changed to EdgeDims.zero.\r\n  Widget build(BuildContext context) {\r\n    return new Padding(\r\n      padding: const EdgeDims.symmetric(vertical: 4.0),\r\n      child: new Card(\r\n          child: new Padding(\r\n            padding: const EdgeDims.all(16.0),\r\n            child: new Text(\"Bad Card\")\r\n          )\r\n       )\r\n    );\r\n  }\r\n}\r\n\r\nclass Fail extends StatelessComponent {\r\n\r\n  Widget build(BuildContext context) {\r\n    return new Scaffold(\r\n      toolBar: new ToolBar(center: new Text('Fail')),\r\n      body: new Block(\r\n        children: <Widget>[\r\n          new BadCard(),\r\n          new BadCard(),\r\n          new BadCard()\r\n        ]\r\n      )\r\n    );\r\n  }\r\n}\r\n\r\nvoid main() {\r\n  runApp(new MaterialApp(\r\n    title: 'Fail',\r\n    routes: <String, RouteBuilder>{\r\n      '/': (RouteArguments args) => new Fail(),\r\n    }\r\n  ));\r\n}\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/189005431","html_url":"https://github.com/flutter/flutter/issues/1576#issuecomment-189005431","issue_url":"https://api.github.com/repos/flutter/flutter/issues/1576","id":189005431,"user":{"login":"abarth","id":112007,"avatar_url":"https://avatars.githubusercontent.com/u/112007?v=3","gravatar_id":"","url":"https://api.github.com/users/abarth","html_url":"https://github.com/abarth","followers_url":"https://api.github.com/users/abarth/followers","following_url":"https://api.github.com/users/abarth/following{/other_user}","gists_url":"https://api.github.com/users/abarth/gists{/gist_id}","starred_url":"https://api.github.com/users/abarth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abarth/subscriptions","organizations_url":"https://api.github.com/users/abarth/orgs","repos_url":"https://api.github.com/users/abarth/repos","events_url":"https://api.github.com/users/abarth/events{/privacy}","received_events_url":"https://api.github.com/users/abarth/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T22:02:13Z","updated_at":"2016-02-25T22:02:13Z","body":"I've reduced this to a pure Skia bug:\r\n\r\nhttps://bugs.chromium.org/p/skia/issues/detail?id=5014"}}