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
- appbar
- Flutter
- Kotlin
- CustomScrollView
- 앱바
- 앱
- Button
- textview
- TEST
- ScrollView
- viewmodel
- Navigation
- 테스트
- drift
- intent
- binding
- textfield
- scroll
- Coroutines
- LifeCycle
- activity
- 계측
- data
- livedata
- Compose
- tabbar
- 안드로이드
- Dialog
- DART
- android
Archives
- Today
- Total
목록textSelect (1)
Study Record
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/NMuN0/btr0yQc8bRF/nZVr3ZHvkIhJAVkLqsYhC0/img.png)
✍ 커서와 텍스트 핸들러 Flutter 에서 커서와 텍스트 핸들러의 색상을 바꾸려면 ThemeData 의 textSelectionTheme 값을 변경하면 된다. 각각 cursorColor 는 커서 색상, selectionColor 는 텍스트를 드래그했을 때 드래그한 영역의 색상을 뜻한다. selectionHandleColor 는 텍스트 색상을 변경할 수 있다. runApp( MaterialApp( theme: ThemeData( textSelectionTheme: TextSelectionThemeData( selectionHandleColor: Colors.deepOrangeAccent, selectionColor: Colors.greenAccent.withOpacity(0.3), cursorColor:..
Flutter/widget_TextField
2023. 2. 24. 15:37