일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
- flutter widget
- 롤토체스 api dart
- dart
- 파이썬 부동소수점
- flutter android 폴더
- keychain error
- flutter bloc
- flutter statefulwidget
- flutter ios 폴더
- dart new
- leetcode dart
- AnimationController
- PlatformException(sign_in_failed
- dart new 키워드
- generate parentheses dart
- flutter
- swift concurrency
- 파이썬
- widget
- 롤 api dart
- com.google.GIDSignIn
- docker overview
- dart.dev
- tft api dart
- Architectural overview
- riot api dart
- lol api dart
- 발로란트 api dart
- valorant api dart
- swift 동시성
- Today
- Total
목록dart (4)
aspe

dart 팀에게 PR이 승인되어 이제 공식 홈페이지의 Community에서 dart-ko.dev 페이지를 접근할 수 있습니다! 너무 기쁘네요! Website: https://dart-ko.dev/ Dart 프로그래밍 언어 Dart는 모든 플랫폼에서 빠른 앱을 개발하기 위해 클라이언트에 최적화된 언어입니다 dart-ko.dev Github repo: https://github.com/Coaspe/dart-ko.dev GitHub - Coaspe/dart-ko.dev: Source for Dart website in Korean Source for Dart website in Korean. Contribute to Coaspe/dart-ko.dev development by creating an accoun..

Dart의 async package를 사용하면, Future를 쉽게 취소 할 수 있습니다. 제가 만들고 있는 앱에서는 Google map의 CameraPosition을 기준으로 변경 될 때마다, 주변 가게에 대한 정보 API 요청을 전송합니다. 그런데 요청에 대한 처리가 끝나기 전에 CameraPosition을 마구 움직이게 되면 Future가 쌓이게 되므로 Future를 취소 할 수 있는 기능이 필요했습니다. async package를 다음 받은 후 CancelableOperation 변수를 선언합니다. CancelableOperation? _fetch; CancelableOperation?으로 선언하는 이유는 현재 진행중인 요청이 없을 수도 있기 때문입니다. 그리고 Future를 취소, 등록하는 코드..

Dart는 async-await, isolates나 Future나 Stream 같은 classes로 concurrent programming을 지원합니다. 이 페이지에서는 async-await, Future, Stream에 대해 전반적인 설명을 합니다.(주로 isolates에 대해) 앱 안에서, 모든 Dart 코드는 isolate 안에서 작동됩니다. 각각의 Dart isolate는 하나의 실행 쓰레드를 가지고, 서로 객체들을 공유하지 않습니다. 서로 통신하고 싶다면, isolates는 message passing을 사용합니다. 비록 Dart의 isolate 모델은 운영체제가 제공하는 프로세스, 스레드 같은 기본 요소로 구현되어 있지만, Dart VM의 이러한 기본 요소의 사용은 이 페이지에서 다루지 않는..