ListenableListener<T extends Listenable> constructor

const ListenableListener<T extends Listenable>({
  1. Key? key,
  2. required T? listenable,
  3. required Widget builder(
    1. BuildContext context,
    2. T? listenable
    ),
})

A widget that monitors changes in Listenable and updates the contents of builder when there is a change.

Listenableの変更を監視し変更があった場合、builderの内容を更新するウィジェット。

Implementation

const ListenableListener({
  super.key,
  required this.listenable,
  required this.builder,
});