listenWhenListenable property
If listenWhenListenable is true
, ListenableListener will be wrapped around each element if source inherits Listenable.
Therefore, each element of source is monitored individually, and if any element is updated, only that element is updated in the drawing.
listenWhenListenableがtrue
になっている場合、sourceにListenableを継承している場合ListenableListenerが各要素にラップされます。
そのため、sourceの各要素をそれぞれ監視し、いずれかの要素が更新された場合その要素のみ描画が更新されます。
Implementation
final bool listenWhenListenable;