cubes 1.5.1 cubes: ^1.5.1 copied to clipboard
Simple State Manager (Focusing on simplicity and rebuilding only the necessary)
[1.5.1] #
- Update to Flutter 3.0
- Turn deprecated
CubesLocalization
[1.5.0] #
[1.4.0] #
- little improvements
- renamed
Cubes.registerDependency
toCubes.putDependency
; - renamed
Cubes.registerDependencyAsync
toCubes.putDependencyAsync
; - renamed
onAction
tosendAction
in Cube; - Adds
CubeNavigation
mixin. use this mixin in your cube to enable navigation methods:- navToNamed
- navToNamedAndRemoveUntil
- navToNamedReplacement
- navTo
- navToReplacement
- navToAndRemoveUntil
- navPop
[1.3.1] #
- Update example
- Adds
inject
global function. - remove unnecessary imports.
1.3.0 #
- Rename
CubeBuilder
toCubeConsumer
- Add methods in BuildContextExtensions :
goToNamed
,goToNamedAndRemoveUntil
,goToNamedReplacement
- Adds StringExtensions to facilitate get string translation :
tr()
- BREAKING CHANGE: Replace names in
Cubes.getString
. Now adds@{name} in string of the json file
and replace in this way:Cubes.getString('string',params:{'name':'Rafael'})
1.2.1 #
- Adds
CubeRobot
. Util class to facilitate widget testing.
1.2.0+1 #
- Update README.md.
1.2.0 #
- Adds key in
CubeWidget
- Update README.md
- BREAKING CHANGES: remove bool to indicate type of the register dependency.
Now use enum
DependencyRegisterType
betweenfactory
,singleton
,lazySingleton
.
1.1.0 #
- Adds
SimpleCube
- Update
GetIt
- Adds
Cubes.registerDependencyAsync
- Adds
Cubes.getDependencyAsync
- improvements in
CubeStateMixin
1.0.2 #
- Update get_it
1.0.1 #
- Add extensions to facilitate the use of
CFeedBackControl
andCTextFormFieldControl
1.0.0 #
- migrate to null safety
0.10.8+1 #
- formatting dart code
0.10.8 #
- update project to comply with
effective_dart
- improvements in
CubesLocalizationDelegate
- add extension
obsValue
to createObservableValue
from any object
0.10.7+1 #
- update
readme
0.10.7 #
- update
mockito
version toany
0.10.6 #
- update
get_it
- some improvements and optimization
0.10.5 #
- improvements in
CTextFormField
; - improvements in
ObservableValue
;
0.10.4 #
- add param
controller
inCTextFormField
;
0.10.3 #
- [BREAKING CHANGE] renamed
ready()
toonReady(Object arguments)
inCube
; - renamed
initData
toarguments
inCubeWidget
andCubeBuilder
; - update get_it to
5.0.4
;
0.10.2 #
- improvements in
CAnimatedList
. - add
insert
andinsertAll
inObservableList
- renamed
itemList
toobservable
inCAnimatedList
;
0.10.1 #
- hotfix init value in
CTextFormField
.
0.10.0 #
- add
CTextFormField
. - renamed
FeedBackManager
toCFeedBackManager
; - renamed
FeedBackControl
toCFeedBackControl
; - renamed
BottomSheetController
toCBottomSheetController
; - renamed
DialogController
toCDialogController
; - renamed
SnackBarController
toCSnackBarController
;
0.9.2 #
- update example
- if initData is not passed, the cube's
data
is filled withModalRoute.of(context).settings.arguments;
0.9.1 #
- update example and readme
0.9.0 #
- add
FeedBackManager
. Now you can control Dialogs, BottomSheets and SnackBars with Observables in reactive way
0.8.0 #
- create
CubeStateMixin
to use cube in StatefulWidget - discontinued
CubeBuilderAnimation
andCubeAnimationWidget
0.7.0 #
- add method
listen
innerCube
to listenObservableValue
. - add method
listenActions
innerCube
to listenActions
.
0.6.0 #
- Add
when
inObserver
. Now you can decide when rebuild widget;
0.5.1 #
- Add method
update
andmodify
inObservableValue
; - [BREAKING CHANGE] not modify directly the
value
, now useupdate
ormodify
; - Add
isEmpty
,isNotEmpty
,first
andlast
inObservableList
;
0.5.0 #
- Add CuberProvider. To get the Cube by the children of
CubeBuilder
,CubeWidget
orCubeWidgetAnimation
you can useCubes.of<MyCube>(context)
;
0.4.1 #
- [BREAKING CHANGE] remove
onSuccess
anonError
. Now centers on ʻonAction(CubeAction)`.
0.4.0 #
- [BREAKING CHANGE] move
getString
toCubes.getString
- [BREAKING CHANGE] move
registerDependency
toCubes.registerDependency
- [BREAKING CHANGE] move
getDependency
toCubes.getDependency
- [BREAKING CHANGE] remove
getCube
(use getDependency) - [BREAKING CHANGE] remove
registerCube
(use registerDependency) - create
Cubes.instance.customInjector(Injector)
to use if you want to overwrite the default injector (getIt). - add test widget example of the CounterScreen.
0.3.5 #
- improvements in
CubeWidgetAnimation
[still experimental]
0.3.4 #
- improvements in
CubeWidgetAnimation
0.3.3 #
- add
AnimatedListCube
- add
CubeWidgetAnimation
to use animations (experimental) - add
initState()
anddispose()
inCubeWidget
0.3.2+1 #
- update README.
0.3.2 #
- add params to replace in
getString()
- add
T getCube<T extends Cube>()
0.3.1 #
- remove String extensions
0.3.0 #
- create
CubeWidget
0.2.4 #
- improvements in BuildContextExtensions
0.2.3 #
- add
clear
in ObservableList.
0.2.2 #
- Improvements in
CubeBuilder
and Observer.
0.2.1 #
- Create
ObservableList
. - Add Todo example.
0.2.0 #
- Add internationalization.
0.1.1 #
- Add getCubeIsReady and getCubesIsReady in Cube
0.1.0 #
- Add option of the singleton Cube
0.0.9 #
- Add
getCubeInMemory
inCube
- Add StringExtensions
- Fix bug runDebounce
0.0.8 #
- Add animation in Observer
0.0.7 #
- Improvements in
ObservableValue
- add
runDebounce
inCube
- add extensions
0.0.6 #
- Hotfix rebuild Observer.
0.0.5 #
- Add
onAction
- Update example.
0.0.4 #
- Improvements in ObservableValueExtensions.
0.0.3 #
- Fix removeListener.
0.0.2 #
- Improvements in CubeBuilder and Observer.
0.0.1 #
- Start Project