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
- intent
- Dialog
- 안드로이드
- livedata
- 계측
- Compose
- 테스트
- textfield
- binding
- Coroutines
- LifeCycle
- viewmodel
- 앱
- DART
- android
- Kotlin
- Button
- tabbar
- appbar
- scroll
- CustomScrollView
- data
- textview
- drift
- TEST
- Flutter
- 앱바
- activity
- Navigation
- ScrollView
Archives
- Today
- Total
목록textformfield (1)
Study Record
[Flutter] Form + TextFormField - 한번에 입력 값 관리하기, errorText, border
✍ TextFormField Widget TextFormField 위젯은 TextField 에서 몇개의 기능이 추가된 위젯이다. 따라서, TextField 에서 사용하는 인자값을 거의 그대로 사용할 수 있다. 또한, TextFormField 에는 사용자가 입력한 입력 값을 검증해 정해진 오류에 맞는 text를 보여줄 수 있다.(validator) TextFormField 와 Form 위젯을 함께 사용하면 여러개의 입력값을 한번에 관리할 수 있다. 바로 예시를 들면, import 'package:flutter/material.dart'; void main() => runApp(MaterialApp(home: HomeScreen())); class HomeScreen extends StatefulWidget..
Flutter/widget_TextField
2023. 3. 3. 21:59