작성
·
478
0
Compiler message:
Error: Could not resolve the package 'flutter_swiper' in 'package:flutter_swiper/flutter_swiper.dart'.
lib/screen/screen_quiz.dart:3:8: Error: Not found: 'package:flutter_swiper/flutter_swiper.dart'
import 'package:flutter_swiper/flutter_swiper.dart';
^
lib/screen/screen_quiz.dart:36:20: Error: The method 'Swiper' isn't defined for the class '_QuizScreenState'.
- '_QuizScreenState' is from 'package:flutter_quiz_test/screen/screen_quiz.dart' ('lib/screen/screen_quiz.dart').
Try correcting the name to the name of an existing method, or defining a method named 'Swiper'.
child: Swiper(
^^^^^^
Swiper 패키지를 pubspec.yaml에 선언하고 설치까지 되었다고 생각했는데 해당 오류가 발생해서요. 구글링을 해봐도 설치 방법만 나오고 똑같이 따라해도 마찬가지네요. 도와주실 수 있으신가요?