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 | 29 | 30 | 31 |
Tags
- intent
- Flutter
- CustomScrollView
- textview
- binding
- 안드로이드
- android
- Coroutines
- Button
- Kotlin
- DART
- activity
- textfield
- ScrollView
- 앱
- livedata
- tabbar
- appbar
- LifeCycle
- 테스트
- 계측
- Dialog
- TEST
- data
- viewmodel
- scroll
- 앱바
- Compose
- drift
- Navigation
Archives
- Today
- Total
목록flutter random (1)
Study Record
[Dart] 난수 생성하기
✍ 난수 생성하기 Dart 에서 난수를 생성하려면 Random() 클래스를 사용한다. import 'dart:math'; void main(){ final random = Random(); } 3가지 타입(bool, double, int)의 난수를 생성할 수 있다. var intValue = Random().nextInt(10); // intValue is >= 0 and = 50 and = 0.0 and < 1.0. doubleValue = Random().nextDouble(..
Dart
2023. 2. 5. 01:32