cubes 1.5.5 copy "cubes: ^1.5.5" to clipboard
cubes: ^1.5.5 copied to clipboard

Simple State Manager (Focusing on simplicity and rebuilding only the necessary)

[1.5.5] #

  • improvements onReady

[1.5.4] #

  • renamed execute to onExecute in CubeAction

[1.5.3] #

  • remove flutter_localizations
  • Improvements in CubeAction. Now you can implement void execute(BuildContext context) method to do anything when this sent from cube.

[1.5.2+1] #

  • Update readme and example
  • renamed NavigationAction to NavigationCubeAction.

[1.5.2] #

  • BREAKING CHANGE: remove CubesLocalization

[1.5.1] #

  • Update to Flutter 3.0
  • Turn deprecated CubesLocalization

[1.5.0] #

BREAKING CHANGES:

  • Renamed obsValue to obs. #56
  • Improvements in injector, now you have separated methods to register your dependency #53:
    • registerSingleton
    • registerLazySingleton
    • registerFactory
    • registerSingletonAsync
    • registerFactoryAsync

[1.4.0] #

  • little improvements
  • renamed Cubes.registerDependency to Cubes.putDependency;
  • renamed Cubes.registerDependencyAsync to Cubes.putDependencyAsync;
  • renamed onAction to sendAction 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 to CubeConsumer
  • 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 between factory, 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 and CTextFormFieldControl

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 create ObservableValue from any object

0.10.7+1 #

  • update readme

0.10.7 #

  • update mockito version to any

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 in CTextFormField;

0.10.3 #

  • [BREAKING CHANGE] renamed ready() to onReady(Object arguments) in Cube;
  • renamed initData to arguments in CubeWidget and CubeBuilder;
  • update get_it to 5.0.4;

0.10.2 #

  • improvements in CAnimatedList.
  • add insert and insertAll in ObservableList
  • renamed itemList to observable in CAnimatedList;

0.10.1 #

  • hotfix init value in CTextFormField.

0.10.0 #

  • add CTextFormField.
  • renamed FeedBackManager to CFeedBackManager;
  • renamed FeedBackControl to CFeedBackControl;
  • renamed BottomSheetController to CBottomSheetController;
  • renamed DialogController to CDialogController;
  • renamed SnackBarController to CSnackBarController;

0.9.2 #

  • update example
  • if initData is not passed, the cube's data is filled with ModalRoute.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 and CubeAnimationWidget

0.7.0 #

  • add method listen inner Cube to listen ObservableValue.
  • add method listenActions inner Cube to listen Actions.

0.6.0 #

  • Add when in Observer. Now you can decide when rebuild widget;

0.5.1 #

  • Add method update and modify in ObservableValue;
  • [BREAKING CHANGE] not modify directly the value, now use update or modify;
  • Add isEmpty, isNotEmpty, first and last in ObservableList;

0.5.0 #

  • Add CuberProvider. To get the Cube by the children of CubeBuilder, CubeWidget or CubeWidgetAnimation you can use Cubes.of<MyCube>(context);

0.4.1 #

  • [BREAKING CHANGE] remove onSuccess an onError. Now centers on ʻonAction(CubeAction)`.

0.4.0 #

  • [BREAKING CHANGE] move getString to Cubes.getString
  • [BREAKING CHANGE] move registerDependency to Cubes.registerDependency
  • [BREAKING CHANGE] move getDependency to Cubes.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() and dispose() in CubeWidget

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 in Cube
  • Add StringExtensions
  • Fix bug runDebounce

0.0.8 #

  • Add animation in Observer

0.0.7 #

  • Improvements in ObservableValue
  • add runDebounce in Cube
  • 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
40
likes
140
points
108
downloads

Publisher

unverified uploader

Weekly Downloads

Simple State Manager (Focusing on simplicity and rebuilding only the necessary)

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, get_it

More

Packages that depend on cubes