DART(10)
-
Dart 시작하기 - 구조 및 변수
Flutter를 시작하기 전에 Dart를 먼저 배워보자. Web IDE - DartPad IDE 설치는 일단 놔두고 웹에서 간단하게 테스트해보자. DartPad 기본 구조 dart는 기본적으로 main 함수에서 시작한다. 코드 종료 시 ;(세미콜론)을 필수로 붙여준다. main() { print('Hello'); } Variable (변수) var 타입을 설정할 필요 없음 선언할 때의 값의 타입으로 설정됨 선택권이 있는 경우 타입을 명시해주는 것이 가독성을 높여 공동 작업에 용이하게 하자 -> String, int, double, List, Map, enum 변수의 타입이 매우 복잡한 경우 var 타입으로 간단하게 명시하기도 한다 eg. Map void main() { var name = 'Dart'; ..
2022.06.21 -
Mac에 Flutter 설치하기 - feat. zip File
System Requirements Operating Systems: macOS Disk Space: 2.8 GB (does not include disk space for IDE/tools). Tools: Flutter uses git for installation and upgrade. We recommend installing Xcode, which includes git, but you can also install git separately. X-code 설치 X-code 확인 X-Code 실행하기 License 확인 sudo xcodebuild -license # space bar를 눌러 끝까지 내려간다 By typing 'agree' you are agreeing to the terms of..
2022.06.12