일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 유니티
- C언어 포인터
- 다트 언어
- docker
- Houdini
- Unity
- vim
- git
- 도커
- dart 언어
- c언어
- github
- c# 윈폼
- jupyter
- 깃
- gitlab
- Flutter
- 플러터
- Data Structure
- 구조체
- HTML
- jupyter lab
- Algorithm
- C++
- 포인터
- c#
- c# 추상 클래스
- C# delegate
- Python
- c# winform
Archives
- Today
- Total
목록flutter dispose (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