listenable property

  1. @override
Listenable get listenable
override

The Listenable supplied to the constructor.

In this example, the listenable is a ChangeNotifier subclass that encapsulates a list. The ListenableBuilder is rebuilt each time an item is added to the list.
link

To create a local project with this code sample, run:
flutter create --sample=widgets.ListenableBuilder.listenable.1 mysample

See also:

Implementation

//
// Overridden getter to replace with documentation tailored to
// ListenableBuilder.
@override
Listenable get listenable => super.listenable;