일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- PG결제
- flutter web
- MVVM
- FocusNode
- error
- copy on write
- python3
- struct
- SHIMMER
- delegate
- 무선빌드
- Android
- reject
- appstore
- Codemagic
- TextInputFormatter
- abstact
- shorebird
- DevTools
- Codepush
- Swift
- GetX
- IOS
- FLUTTER
- 성능 개선
- BloC
- 갤럭시폴드
- Equatable
- reactivex
- fastlane
Archives
- Today
- Total
목록TextInputFormatter (1)
뚝딱뚝딱 모바일

안녕하세요. 오늘은 TextField의 Foramt을 변경하여, 통화(Currency, 전화번호 등을 조금 더 직관적으로 표현할 수 있는 방법을 알아보겠습니다. TextField에는 inputFormatters라는 List? 타입의 인자가 있습니다. 이 inputFormatter를 활용하여, TextField의 Format을 바꾸거나, 특정 문자만 입력되게 할 수도 있습니다. TextField( inputFormatters: [ FilteringTextInputFormatter.digitsOnly, // 숫자만 입력받로고 FilteringTextInputFormatter.allow(Regex), // Regex만 허용 FilteringTextInputFormatter.deny(Regex), // Rege..
Flutter 지식
2024. 3. 19. 15:28