Flutter-CuriosityApp icon indicating copy to clipboard operation
Flutter-CuriosityApp copied to clipboard

运行起来之后页面空白问题

Open edison0951 opened this issue 7 years ago • 1 comments

报错的地方是: 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'

edison0951 avatar Jan 23 '19 14:01 edison0951

谢谢你😊

xumaohuai avatar Jan 25 '19 09:01 xumaohuai