개발

flutter dependency

내공얌냠 2020. 5. 3. 14:39

전달받은 flutter project를 clone 받아 열어보니 빨간줄이 계속 있고 vscode에서도 뭐 설치하란 창도 안 뜬다.

Kotlin 쪽은 Kotlin이나 Kotlin Language로 창 뜨니까 설치해주면 되고,

kotlin 쪽 파일들은 빨간줄이 해결되었으나 dart 부분은 아직이니 dependency 가져오기!

pubspec.yaml 파일이 있는 디렉토리에서 아래 명령어 입력

flutter packages get

참고: https://medium.com/flutter-community/flutter-essential-what-you-need-to-know-567ad25dcd8f

 

Flutter Essential: Bloc, Networking (REST API call), Unit Testing, Code Coverage.

Everything you need to know in one tutorial.

medium.com

 

해결

728x90
반응형