live_cells 0.10.0
live_cells: ^0.10.0 copied to clipboard
A replacement for ChangeNotifier and ValueNotifier that is easier to use and more flexible
0.1.0 #
- Initial release.
0.1.1 #
- Fix package directory structure
0.1.2 #
- Fix dart doc issues
0.2.0 #
New features:
- Stronger guarantees that a
StoreCellwill not hold an outdated value - Shorthand
.cellproperty for creating constant value cells - Shorthand
List.computeCellmethod for creating multi-argument computational cells - Arithmetic and comparison operator overloads to create computational cells directly using expressions such as
a + b
Breaking changes:
ValueCellis no longer aValueListenableValueCell.addListenerandValueCell.removeListenerare replaced withaddObserverandremoveObserver- New
CellObserverinterface for observing changes to the values of cells ValueCell.listenableproperty provided to useValueCellas aValueListenable
0.2.1 #
- Fix issues with examples in README
0.2.2 #
- Fix issue with List.computeCell method
- Fix issues with unit tests
0.2.3 #
- Fix issue with
CellTextField
0.3.0 #
New features:
- Mutable computational cells
- Batch updates
CellWidgetbase class for creating widgets make use of cellsCellWidgetBuilderfor creatingCellWidget's without subclassing- New widgets in widgets library:
CellCheckboxCellCheckboxListTileCellRadioCellRadioListTileCellSliderCellSwitchCellSwitchListTile
- Shorthand
List.computeWidgetmethod for creating widgets which depend on multiple cells
Breaking changes:
MutableCellis now an interface with a factory constructorCellObserverinterface methods now take observed cell as arguments- Removed
CellBuilder
0.3.1 #
- Bug fixes
0.4.0 #
- Simplify implementation of
CellWidget. Subclasses now overridebuildinstead ofbuildChild.
0.4.1 #
- Bug fixes
0.5.0 #
New features:
ValueCell.computedconstructor for creating computed cells with dynamic dependenciesMutableCell.computedconstructor for creating mutable computed cells with dynamic dependenciesCellWidgetcan now also track the cells it depends on at runtimemutableStringextension method onMutableCell's holding anint,double,numorstring
Breaking changes:
CellWidget.cellmethod has been moved toCellListenersmixinCellWidgetBuilderhas been removed in favour ofCellWidget.builderconstructor
Improvements:
- Simplified examples demonstrating core concepts only
- Simplified and streamlined API
- Improved README
- Bug fixes
0.5.1 #
- Fix typos and bugs in examples in README
0.5.2 #
- Fix potential issues
0.6.0 #
New features:
Maybetype andMaybeCellfor error handlingerrorValueargument ofmutableStringmethod to control value in case of errors during parsing- Remove restriction that arguments of mutable computed cells be mutable cells
Breaking changes:
- Add
shouldNotifyAlwaysproperty toCellObserverinterface
Improvements and bug fixes:
- Simplify implementation of
CellInitializer.cell - Allow updated cell value to be accessed even when the cell has no observers
- Fix bug in
BuildContext.cellmethod - Fix bug in
CellTextField
0.6.1 #
- Fix potential issues
- Fix typos and improve README
0.7.0 #
New features:
ValueCell.watchandCellInitializer.watchfor calling a function whenever the values of cells change.- State restoration of cells with
RestorableCellWidget
0.8.0 #
New features:
- Ability to access the previous values of cells with
.previous - Ability to abort a cell value update with
ValueCell.none() and,or,notandselectmethods on bool cells- Exception handling using
onErroranderror - Clarified how exceptions are propagated between cells
0.8.1 #
- Correct typos and errors in readme examples
0.9.0 #
New features:
- Constant
bool,null,EnumandDurationcells can now be created with thecellproperty, e.g.true.cell. - Utilities for working with cells holding a
Duration. CellObserverModelfor creating classes which observe one or more cells- Add
selectioncell parameter toCellTextFieldconstructor for observing and controlling the field's selection.
0.9.1 #
- Fixed bug with accessing previous cell values
0.10.0 #
New features:
- Keyed cells, cells with the same key reference a shared state.
- Lightweight mutable computed cells.
CellExtensionannotation for automatically generatingValueCellaccessors for classes, using thelive_cell_extensionpackage (which will be released soon).
This release also comes with major changes to the implementation. These changes are only breaking to
code which creates user-defined ValueCell subclasses:
- Removed the following internal implementation classes and mixins from the public API:
EqCellNeqCellNotifierCellCellEqualityCellListenersObserverCell