일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- swift concurrency
- 파이썬 부동소수점
- flutter android 폴더
- dart
- 롤토체스 api dart
- flutter bloc
- flutter widget
- valorant api dart
- dart new 키워드
- generate parentheses dart
- flutter statefulwidget
- 발로란트 api dart
- AnimationController
- swift 동시성
- leetcode dart
- lol api dart
- docker overview
- 파이썬
- tft api dart
- keychain error
- dart new
- flutter ios 폴더
- flutter
- com.google.GIDSignIn
- Architectural overview
- widget
- 롤 api dart
- PlatformException(sign_in_failed
- riot api dart
- dart.dev
- Today
- Total
목록Dart (8)
aspe
https://github.com/Coaspe/riot_api GitHub - Coaspe/riot_api: These packages provide easy ways to use the Riot api in Dart language. These packages provide easy ways to use the Riot api in Dart language. - GitHub - Coaspe/riot_api: These packages provide easy ways to use the Riot api in Dart language. github.com Riot account API League of Legends API Valorant API TFT API Legends of Runeterra 위의 a..

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를 취소, 등록하는 코드..

Extends 모든 properties, variables, function이 implemented 된다. override하는 것도 가능 -> 어떤 클래스의 더 구체적인 버젼을 생성하고 싶다면 extends 사용 Implements 모든 properties, variables, functions를 상속 받지는 않고, 어떤 타입을 상속받고 싶을 때 사용 여러 클래스나, 인터페이스 implements 가능하고, 모든 멤버 변수의 getter, 멤버 메소드를 override 해야 합니다. me는 animal을 implements 합니다. 멤버 변수의 getter를 정의하고, 메소드를 재정의하라고 합니다. With Mixin이라는 코드 스니펫을 재사용한다. override도 가능 Mixins은 multiple ..
컨트롤하는 Stream을 가지고 있는 Controller 입니다. 이 Controller는 stream에서 데이터, 오류 그리고 완료 이벤트를 전송할 수 있게 해줍니다. 이 클래스는 다른 객체들이 listen 할 수 있는 간단한 스트림을 생성하고 해당 스트림에 이벤트를 푸쉬할 수 있습니다. 이 Controller는 스트림이 일시 중지되었는지, 구독자가 있는지를 확인하고 둘 중 하나가 변경될 때 콜백을 받을 수 있습니다. 예를 들면: final streamController = StreamController( onPause: () => print('Paused'), onResume: () => print('Resumed'), onCancel: () => print('Cancelled'), onListen:..

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의 이러한 기본 요소의 사용은 이 페이지에서 다루지 않는..

Dart SDK의 코드를 살펴보던 중 new 키워드를 사용하는 라인이 많아서 직접 Issue를 작성했고 답변은 다음과 같았습니다. 예상한대로 기술적으로 다른 부분은 없지만, 코드의 가독성을 높혀준다고 합니다!
Object: The superclass of all Dart classes except Null. Never: Indicates that an expression can never successfully finish evaluating. Most often used for functions that always throw an exception. dynamic: Indicates that you want to disable static checking. Usually you should use Object or Object? instead. Object: Null을 제외한 모든 Dart 클래스의 superclass Never: Evaluating(평가)가 절대 완료되지 않은 expression을 의미합..