일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 포인터
- gitlab
- jupyter
- dart 언어
- c# winform
- C++
- c# 추상 클래스
- Unity
- Algorithm
- Python
- vim
- 다트 언어
- c언어
- C# delegate
- 깃
- docker
- 플러터
- 도커
- jupyter lab
- Flutter
- Houdini
- github
- c# 윈폼
- 유니티
- git
- HTML
- C언어 포인터
- Data Structure
- c#
- 구조체
Archives
- Today
- Total
목록플러터 statefulwidget (1)
nomad-programmer
[Flutter] StatefulWidget 클래스 사용 시점
StatelessWidget 클래스에 TextFormField를 사용해도될까? TextEditingController는 렌더링간에 유지되어야하는 클래스 인스턴스이다. 그러나 StatelessWidget 클래스에 정의하면 기본적으로 모든 업데이트 후 다시 만든다. 그러므로 TextFormField 클래스를 사용할 예정이면 StatefulWidget 클래스로 만들어야 한다. Flutter 공식문서에서도 TextFormField 클래스를 생성할 때면 StatefulWidget으로 생성하라고 나와있다. flutter.dev/docs/cookbook/forms/text-field-changes Handle changes to a text field How to detect changes to a text fiel..
Programming/Flutter
2020. 10. 18. 16:31