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
- data
- Coroutines
- Button
- 앱
- appbar
- android
- textview
- tabbar
- intent
- 앱바
- scroll
- DART
- Flutter
- 계측
- 안드로이드
- drift
- CustomScrollView
- binding
- Navigation
- LifeCycle
- 테스트
- ScrollView
- livedata
- activity
- Kotlin
- Dialog
- Compose
- viewmodel
- textfield
- TEST
Archives
- Today
- Total
목록inputFormatters (1)
Study Record
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/LvBlo/btr0BWRoLPN/XECZnolazrDWdl5cwRdNPk/img.png)
✍ TextField (keyboardType, inputFormatters) TextField 에서 입력받을 텍스트의 타입을 keyboardType 으로 정할 수 있고 inputFormatters 에 설정된 타입 외의 입력값을 입력하면 거부된다. keyboardType 으로 핸드폰의 키보드가 올라오는 것의 종류를 정할 수 있는데 블루투스로 연결한 키보드 사용 시, 원하지 않는 타입의 텍스트를 입력하는 것을 inputFormatters 가 방지해 준다. 😶 keyboardType TextInputType.none : 키보드가 올라오지 않는다. TextInputType.visiblePassword TextInputType.url TextInputType.streetAdress TextInputType.ph..
Flutter/widget_TextField
2023. 2. 24. 20:47