live_cell_widgets 0.7.0
live_cell_widgets: ^0.7.0 copied to clipboard
Provides wrappers over Flutter widgets which allow the properties of the widgets to be controlled by ValueCell's
0.7.0 #
Breaking Changes:
-
Rename
onPressedandonLongPressof cell Material buttons topressandlongPress, respectively.The purpose of this change, is to later allow callback based event handlers to be added using
onPressedandonLongPress
Bug Fixes:
- Fix bug with exception handling in
toWidget().
0.6.0 #
New widgets:
CellElevatedButtonCellFilledButtonCellOutlinedButtonCellTextButton
0.5.0 #
New features:
-
Automatic key generation for unkeyed cells defined in the
buildmethod ofCellWidgetandCellWidget.builder.This allows cells local to a
CellWidgetto be defined directly in the build method/function without having to use.cell(() => ...)With version 0.4.0:
class Example extends CellWidget with CellInitializer { @override Widget build(BuildContext context) { final count = cell(() => MutableCell(0)); ... } }This can now be simplified to the following with version 0.5.0:
class Example extends CellWidget { @override Widget build(BuildContext context) { final count = MutableCell(0); ... } }
Breaking Changes:
-
CellInitializerhas been renamed toCellHooks -
.cell()and.watch()have been moved fromBuildContexttoCellHookContext.This will not affect code that uses
CellWidget.builder. -
State restoration options have been removed from
.cell(). Use.restore()instead.
0.4.0 #
New widgets:
CellAbsorbPointerCellAnimatedCrossFadeCellAnimatedFractionallySizedBoxCellAnimatedPositionedDirectionalCellAnimatedRotationCellAnimatedScaleCellAnimatedSlideCellAnimatedSwitcherCellAnnotatedRegion
Other changes:
- Minimum core dependency version updated to
0.16.0 - Removed deprecated methods and
RestorableCellWidget
0.3.2 #
- Update
live_cells_coredependency version to0.15.0
0.3.1 #
- Update
live_cells_coredependency version to0.14.0
0.3.0 #
- Improvements to
CellWidget:- Unused dependencies are untracked.
- Widget properties can now be bound to different cells between builds.
0.2.2 #
- Increase core dependency version to 0.12.3
0.2.1 #
- Relax live_cells_core dependency version constraint.
0.2.0 #
-
Simplified state restoration:
- No need to use
RestorableCellWidget - Add
restorationIddirectly onCellWidget/StaticWidget. - Added
.restore()method for cell state restoration inStaticWidget
- No need to use
New Widgets:
CellRowCellColumn
0.1.1 #
- Fix bug with StaticWidget.builder
0.1.0 #
- Move widget wrapper classes from
live_cellspackage to this package.