일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- python
- Collection
- set
- 함수
- variable
- textstyle
- animation
- 콜렉션
- 웹크롤러
- pushnamed
- texttheme
- kotlin
- Flutter
- import
- 플러터
- ML
- 파이썬
- Android
- package
- map
- 코틀린
- 크롤러
- text
- 클래스
- Class
- List
- crawler
- DART
- function
- 다트
- Today
- Total
목록분류 전체보기 (125)
조용한 담장

설치된 앱의 목록을 가져올 때 쓸 수 있는 package 이다. 앱의 정보를 얻을 수도 있고 앱의 실행도 가능하다. Android 만 지원한다. https://pub.dev/packages/device_apps https://github.com/g123k/flutter_plugin_device_apps 예제 실행해 보기 예제 코드를 실행해 보자. https://github.com/g123k/flutter_plugin_device_apps/tree/master/example 예제 실행 화면: Platform-specific code 를 사용해서 설치된 정보를 얻어 화면에 뿌리는 동작을 하는데 어떻게 동작하는지 살펴보자... 코드로 동작 살펴보기 android/src/main/java/fr/g123k/dev..

The motion system https://material.io/design/motion/the-motion-system.html Material Design Build beautiful, usable products faster. Material Design is an adaptable system—backed by open-source code—that helps teams build high quality digital experiences. material.io Material Design 의 motion system 은 app 의 navigation 동작을 사용자들이 이해하기 쉽도록 도와주는 몇개의 transition pattern 의 정의를 모아놓은 것이다. transition patter..

코틀린의 collection 의 Map Specific Operations 에 대해 살펴보자. 원문 https://kotlinlang.org/docs/reference/map-operations.html 을 보며 정리. Retrieving keys and values get() [ ] getValue() getOrElse() getOrDefault() val numbersMap = mapOf("one" to 1, "two" to 2, "three" to 3) println(numbersMap.get("one")) // 1 println(numbersMap["one"]) // 1 println(numbersMap.getValue("two")) // 2 println(numbersMap.getOrDefaul..

코틀린의 collection 의 Set Specific Operations 에 대해 살펴보자. 원문 https://kotlinlang.org/docs/reference/set-operations.html 을 보며 정리. 두개의 collection 을 합칠때는 union() 함수를 사용한다. infix a union b 로도 사용한다. intersect() 는 두 collection 에 모두 있는 element 를 찾는다. infix a intersect b subtract() 는 한쪽 collection 에만 있는 element 를 찾는다. infix a subtract b val numbers = setOf("one", "two", "three") println(numbers union setOf("f..