{"action":"closed","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/16935","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/16935/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/16935/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/16935/events","html_url":"https://github.com/flutter/flutter/issues/16935","id":317360305,"node_id":"MDU6SXNzdWUzMTczNjAzMDU=","number":16935,"title":"Null Children Should be Allowed","user":{"login":"agrosner","id":2117859,"node_id":"MDQ6VXNlcjIxMTc4NTk=","avatar_url":"https://avatars3.githubusercontent.com/u/2117859?v=4","gravatar_id":"","url":"https://api.github.com/users/agrosner","html_url":"https://github.com/agrosner","followers_url":"https://api.github.com/users/agrosner/followers","following_url":"https://api.github.com/users/agrosner/following{/other_user}","gists_url":"https://api.github.com/users/agrosner/gists{/gist_id}","starred_url":"https://api.github.com/users/agrosner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agrosner/subscriptions","organizations_url":"https://api.github.com/users/agrosner/orgs","repos_url":"https://api.github.com/users/agrosner/repos","events_url":"https://api.github.com/users/agrosner/events{/privacy}","received_events_url":"https://api.github.com/users/agrosner/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-24T19:18:31Z","updated_at":"2018-08-27T08:02:48Z","closed_at":"2018-08-27T08:02:48Z","author_association":"NONE","body":"## Steps to Reproduce\r\n\r\n```dart\r\nclass AppBuildInfoItem extends StatelessWidget {\r\n  final BuildInfo buildInfo;\r\n\r\n  AppBuildInfoItem(this.buildInfo);\r\n\r\n  @override\r\n  Widget build(BuildContext context) {\r\n    return new ListTile(\r\n        title: Padding(\r\n            padding: EdgeInsets.fromLTRB(0.0, 0.0, 0.0, 8.0),\r\n            child: Text(\"Build ${buildInfo.displayName}\")),\r\n        subtitle: Text(buildInfo.getDisplayTime()),\r\n        trailing: Row(children: <Widget>[\r\n          buildInfo.result != \"SUCCESS\" ? Text(buildInfo.result) : null,\r\n          Platform.isAndroid ? null : Icon(Icons.chevron_right),\r\n        ]));\r\n  }\r\n}\r\n```\r\n\r\n`flutter: Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 1648 pos 14: '!children.any((Widget child) => child == null)': is not true.`\r\n\r\nWe should be able to return null items in a `Widget[]` and the framework should just globally filter those out. This is useful coming from React, where this is completely valid.\r\n\r\n## Flutter Doctor\r\n\r\nDoctor summary (to see all details, run flutter doctor -v):\r\n[✓] Flutter (Channel dev, v0.3.3, on Mac OS X 10.13.4 17E199, locale en-US)\r\n[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)\r\n[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)\r\n[✓] Android Studio (version 3.0)\r\n    ✗ Flutter plugin not installed; this adds Flutter specific functionality.\r\n    ✗ Dart plugin not installed; this adds Dart specific functionality.\r\n[✓] Android Studio (version 3.1)\r\n    ✗ Flutter plugin not installed; this adds Flutter specific functionality.\r\n    ✗ Dart plugin not installed; this adds Dart specific functionality.\r\n[✓] IntelliJ IDEA Ultimate Edition (version 2018.1.1)\r\n[✓] Connected devices (3 available)\r\n\r\n• No issues found!\r\n"}}
{"actor":{"display_login":"zoechi"}}