maestro 0.8.0 maestro: ^0.8.0 copied to clipboard
A way to orchestrate your app's state and to expose your data across your entire Flutter application.
[0.8.0] #
Modified #
MaestroInspector
renamed toInspector
.
Added #
- A specifc Maestro called
MaestroInspector
which always expose anInspector
. - A specifc Maestro called
MaestroMemento
used for undo/redo actions. - Extensions methods
undo<T>
andredo<T>
onBuildContext
for undoing/redoing actions on typeT
. - Methods
undo<T>
andredo<T>
onComposer
andMaestro
static methods.
[0.7.0] #
[0.6.0] #
Added #
- A
readOnly
constructor onMaestro
allowing aMaestro
to be read but not updated by its descendants, and only updated by its parent.
[0.4.0] #
Added #
- A
remix
method onPerformer
called when aPerformer
instance changed and the new one need to be updated from the old one. - The value held by a
Maestro
is now updated when thevalue
changed, whether it's aPerformer
or not.
Changed #
- The
play
method is now on thePerformer
. initialValue
ofMaestro
is renamedvalue
.
[0.3.0] #
Changed #
MaestroInspector
can be used multiple times and can decide to bubble action to further ancestors.OnAction
return type to bool, in order to continue/cancel bubbling.
[0.2.0] #
Changed #
- The value held by a
Maestro
is now updated when theinitialValue
changed and if it's not aPerformer
.
[0.1.0] #
[0.0.1] #
- Initial Open Source release.