Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- drift
- 테스트
- textfield
- Kotlin
- 앱
- Flutter
- Compose
- viewmodel
- scroll
- textview
- livedata
- activity
- android
- Dialog
- ScrollView
- Coroutines
- 앱바
- DART
- data
- 안드로이드
- CustomScrollView
- tabbar
- binding
- 계측
- appbar
- Navigation
- Button
- LifeCycle
- TEST
- intent
Archives
- Today
- Total
목록enum type (1)
Study Record
[Dart] Enum type
✍ Enum type 열거형 타입(Enum type)은 고정된 수의 상수 값을 나타내는 데 사용되는 특수한 종류의 클래스이다. 색상을 나타내는 enum type 을 예시로 하면 다음과 같이 사용할 수 있다. enum Color { red, green, blue } void main() { Color color = Color.green; // green switch(color) { case Color.red: print("red"); break; case Color.green: print("green"); break; case Color.blue: print("blue"); break; } } 😶 values enum Color { red, green, blue } void main() { // List ..
Dart
2023. 3. 16. 19:49