提示找不到swiper
来源:12-3 首页大接口相关模型实现【Model层设计】
sky1990
2019-04-02
dart2.2.1,flutter版本是1.3.8,能运行到模拟器中,但是在Dart Analysis中提示找不到flutter_swiper.dart

写回答
1回答
-
CrazyCodeBoy
2019-04-02
检查下pubspec.yaml https://git.imooc.com/coding-321/flutter_trip/src/master/pubspec.yaml#L22
中是否有配置
flutter_swiper: ^1.1.4
另外,home_page https://git.imooc.com/coding-321/flutter_trip/src/master/lib/pages/home_page.dart
中是否有导入:
import 'package:flutter_swiper/flutter_swiper.dart';
呢?
00
相似问题