반응형
플러터 프로젝트 생성하기
1. 안드로이드 스튜디오 실행 후 New FlutterProject 클릭 (버전에 따라 버튼위치가 다를 수 있음)
2. 본인이 설치해둔 flutter 디렉토리의 경로를 지정한 후 next
3. 아래의 정보들을 모두 입력후 Finish .
Project name
- 프로젝트명
Project location
- 프로젝트를 저장할 경로
Description
- 프로젝트 설명
Organization
- 패키지명 (자신만의 고유한 패키지명으로 지정하여야 합니다. 예시-> kr.woodie.test)
Android language
- Kotlin 선택
iOS language
- Swift 선택
Platforms
- 앱만 사용할 경우 android, ios만 선택해도 무방
4. 프로젝트 생성 완료
위와 같이 프로젝트가 정상적으로 생성이 되었습니다.
플러터 디렉토리 구조
android / ios
- 각 플랫폼 환경에 맞게 배포등을 위한 정보를 가진 곳
lib
- flutter의 모든 작업이 이루어지는 디렉토리
- 프로젝트 생성시 기본적으로 main.dart 파일이 생성됨
pubspec.yaml
- 프로젝트의 버전, 이미지경로, 서드파티 라이브러리, 사용환경 등을 정의하는 파일
반응형
'IT > flutter' 카테고리의 다른 글
[flutter]플러터 스크롤뷰 SingleChildScrollView 사용법 (0) | 2024.01.22 |
---|---|
[Flutter] 플러터앱 - 앱 스토어 배포 (iOS) (0) | 2024.01.18 |
[flutter] 플러터 구글 지도 사용해보기 (google_maps_flutter, geolocator) (0) | 2023.05.23 |
[flutter 개념] 위젯이란 (stateless, statefull) (0) | 2023.05.02 |
[flutter] 개발 환경 구성하기(mac) (0) | 2023.04.27 |