[Flutter] ValueListenableBuilder<T> class

Bumhyeon Baek·2023년 9월 28일
0

Flutter

목록 보기
14/14

A widget whose content stays synced with a ValueListenable.
Contents가 ValueListenable과 동기화된 상태로 유지되는 위젯.

Given a ValueListenable and a builder which builds widgets from concrete values of T, this class will automatically register itself as a listener of the ValueListenable and call the builder with updated values when the value changes.
ValueListenable 및 구체적인 값에서 위젯을 빌드하는 빌더가 주어지면 이 클래스는 자동으로 자신을 Value Listenable의 리스너로 등록하고 값이 변겨오딜 때 업데이트된 값으로 빌더를 호출
https://youtu.be/s-ZG-jS5QHQ

profile
Cool Leader

0개의 댓글