listenable library

A library that help you to manage Flutter widget and state synchronization by leveraging the ValueListenable class. You will use ValueListenableBuilder in your widgets to subscribe to change events in your models. and this library generates the required code for your models to be listenable by a ListenableBuilder widget.

See examples at https://github.com/cadorca/listenable/listenable/example/

Classes

ListenableModel
Use this annotation to mark a class for which you want to listen changes.
ListenableProperty
Use this annotation to mark a field for which you want to listen changes. The Field should belong to a class annotated with ListenableModel.