为了账号安全,请及时绑定邮箱和手机立即绑定

提示build被覆盖的错误,this is the overridden method ('build').

lib/main.dart:115:10: Error: The method 'MyList.build' has more required arguments than those of overridden method 'StatelessWidget.build'.

  Widget build (BuildContext, context) {

         ^

/D:/flutter/packages/flutter/lib/src/widgets/framework.dart:720:10: Context: This is the overridden method ('build').

  Widget build(BuildContext context);

         ^



FAILURE: Build failed with an exception.


正在回答

举报

0/150
提交
取消

提示build被覆盖的错误,this is the overridden method ('build').

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信