언어
Dart 빠른 참조
Dart 빠른 참조용 인쇄 가능한 치트시트로, 빠른 조회와 학습, 책상 옆 참고용으로 정리되었습니다
미리보기
이 치트시트에 포함된 내용
- 기본
- 타입
- 함수
- 제어 흐름
- 클래스
- 믹스인 & 확장
- Async/Await
- 컬렉션
- Null 안전성
- 일반 패턴
Hello World
void main() {
print('Hello, Dart!');
}
변수
var name = 'Dart'; // type inferred
String lang = 'Dart'; // explicit type
final pi = 3.14; // runtime constant
const max = 100; // compile-time constant
문자열 보간
var name = 'World';
print('Hello, $name!');
print('1 + 1 = ${1 + 1}');
모든 섹션이 포함된 인쇄용 치트시트 다운로드
PDF 다운로드다운로드