运行起来之后页面空白问题
Opened this issue · 1 comments
edison0951 commented
报错的地方是:
lib/news.dart:87:42: Error: The argument type 'dart.core::List<#lib1::MyBanner>' can't be flutter: assigned to the parameter type 'dart.core::List<#lib2::MyBanner>'. flutter: Try changing the type of the parameter, or casting the argument to flutter: dart.core::List<#lib2::MyBanner>
解决办法是将news.dart里面的 import 'model/model.dart
修改为 import 'package:flutter_curiosity_app/model/model.dart'
。
xumaohuai commented
谢谢你😊