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
    ),
})

Widget that listens for Listenables and rebuilds the widgets inside when there is an update.

Implementation

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