{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/24524","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/24524/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/24524/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/24524/events","html_url":"https://github.com/flutter/flutter/issues/24524","id":382274469,"node_id":"MDU6SXNzdWUzODIyNzQ0Njk=","number":24524,"title":"bottomAppbar need 1 argument but 0 found","user":{"login":"therichiekumar","id":34451016,"node_id":"MDQ6VXNlcjM0NDUxMDE2","avatar_url":"https://avatars0.githubusercontent.com/u/34451016?v=4","gravatar_id":"","url":"https://api.github.com/users/therichiekumar","html_url":"https://github.com/therichiekumar","followers_url":"https://api.github.com/users/therichiekumar/followers","following_url":"https://api.github.com/users/therichiekumar/following{/other_user}","gists_url":"https://api.github.com/users/therichiekumar/gists{/gist_id}","starred_url":"https://api.github.com/users/therichiekumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therichiekumar/subscriptions","organizations_url":"https://api.github.com/users/therichiekumar/orgs","repos_url":"https://api.github.com/users/therichiekumar/repos","events_url":"https://api.github.com/users/therichiekumar/events{/privacy}","received_events_url":"https://api.github.com/users/therichiekumar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-19T15:46:15Z","updated_at":"2018-11-20T09:29:37Z","closed_at":"2018-11-20T09:29:37Z","author_association":"NONE","body":"1 required argument(s) expected but 0 found' error\r\n\r\n\r\nI'm trying my hand at building an app with flutter (which uses Dart 2). I'm getting an error which I cant figure out:\r\n\r\nThe error is at the bottomNavigationBar: new BottomAppBar(\r\n\r\n```dart\r\nimport 'package:flutter/material.dart';\r\n\r\nvoid main() => runApp(new MyApp());\r\n\r\nclass MyApp extends StatefulWidget {\r\n  @override\r\n  _MyAppState createState() => _MyAppState();\r\n}\r\n\r\nclass _MyAppState extends State<MyApp> {\r\n  @override\r\n  Widget build(BuildContext context) {\r\n    return new MaterialApp(\r\n      home: new Scaffold(\r\n        floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,\r\n        floatingActionButton: new FloatingActionButton(\r\n          child: new Icon(Icons.add),\r\n          onPressed: (){},\r\n        ),\r\n        bottomNavigationBar: new BottomAppBar(\r\n          color: Colors.amber,\r\n          child : new Row(\r\n            mainAxisSize: MainAxisSize.max, \r\n            mainAxisAlignment: MainAxisAlignment.spaceBetween,\r\n            children: <Widget>[\r\n              new IconButton(icon: new Icon(Icons.camera),onPressed: (){},),\r\n              \r\n              new IconButton(icon: new Icon(Icons.call),onPressed: (){},),\r\n\r\n            ],\r\n            )\r\n        ),\r\n      ),\r\n    );\r\n  }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/440204009","html_url":"https://github.com/flutter/flutter/issues/24524#issuecomment-440204009","issue_url":"https://api.github.com/repos/flutter/flutter/issues/24524","id":440204009,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDIwNDAwOQ==","user":{"login":"zoechi","id":405837,"node_id":"MDQ6VXNlcjQwNTgzNw==","avatar_url":"https://avatars0.githubusercontent.com/u/405837?v=4","gravatar_id":"","url":"https://api.github.com/users/zoechi","html_url":"https://github.com/zoechi","followers_url":"https://api.github.com/users/zoechi/followers","following_url":"https://api.github.com/users/zoechi/following{/other_user}","gists_url":"https://api.github.com/users/zoechi/gists{/gist_id}","starred_url":"https://api.github.com/users/zoechi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoechi/subscriptions","organizations_url":"https://api.github.com/users/zoechi/orgs","repos_url":"https://api.github.com/users/zoechi/repos","events_url":"https://api.github.com/users/zoechi/events{/privacy}","received_events_url":"https://api.github.com/users/zoechi/received_events","type":"User","site_admin":false},"created_at":"2018-11-20T09:29:37Z","updated_at":"2018-11-20T09:29:37Z","author_association":"CONTRIBUTOR","body":"Going to close as support request then that is better asked on StackOverflow or similar."}}
{"actor":{"display_login":"zoechi"}}