live_cell_widgets_base library

Provides the base classes for integrating ValueCell's with widgets.

Classes

CellHookContext
Interface providing methods for defining cells and watch functions that are persisted between builds of a widget.
CellWidget
A widget which is rebuilt in response to changes in the values of ValueCell's.
StaticWidget
A widget that is only built once.

Mixins

CellHooks
Provides the cell method for creating and retrieving instances of ValueCell's.
CellObserverState<W extends StatefulWidget>
Provides functionality for rebuilding the widget in response to changes in the values of cells.

Extensions

CellListenableExtension on ValueCell<T>
Provides a method for creating a ValueListenable from a cell
CellRestorationExtension on T
Provides the restore method for restoring the state of the cell.
WidgetCellExtension on ValueCell<Widget>
Provides the widget method for directly creating a Widget from a ValueCell which holds a Widget.
WidgetExtension on ValueCell<T>
Provides functionality for creating Widget's from ValueCell's

Typedefs

CreateCell<T extends ValueCell> = T Function()
Cell creation function.