mvvm_builder 2.0.0+1 mvvm_builder: ^2.0.0+1 copied to clipboard
A widget builder to use MVVM design pattern. Force Split code of view / component and help you manage component refresh state.
2.0.0+1 #
- NEW - MVVMPageBuilder to delay build a MVVMPage and Presenter. You can use it with OnGenerateRouteMethods to keep a page state / presenters across rebuilds
- add a setter to presenter to change completely viewModel in order to use an external adapter
- add Presenter init method to defer initialisation of viewInterface and make presenter final in your StatelessWidgets
- Breaking change - context is now MvvmContext, this holds the context and other flutter ressources
- singleAnimControllerBuilder is now available in MVVMPageBuilder, you can use it to create an AnimationController which you can access in MvvmContext
- multipleAnimControllerBuilder same as singleAnimController but to create multiple animations controllers
- animListener is now available in MVVMPageBuilder. Handle animations start, reset... without refreshing entire page. Check related example.
- performance : now builder / presenter are only available from top inheritedWidget
- fix a documentation error on creating presenter
1.0.8+4 #
- Add function to be called after view init in presenter
1.0.8+3 #
- Calling setState now verify if object is mounted to avoid memory leaks
1.0.8+2 #
- Presenter will no longer crash if call refreshView with a mockedView
1.0.8 #
- adding presenter getter for MVVMPage in order to test
- adding Key to MVVMPage
1.0.7+4 #
- fix documentation
1.0.7+3 #
- fix kotlin version to 1.3.10
1.0.7+2 #
- fix build error on iOS : ld: symbol(s) not found for architecture arm64
1.0.7+1 #
- fix build error on iOS : ld: symbol(s) not found for architecture arm64
1.0.7 #
- update to swift 5
1.0.6 #
- fix ios import swift file
1.0.5 #
- fix pod swift version in podspec
1.0.4 #
- fix pod swift version to => config.build_settings['SWIFT_VERSION'] = '4.2'
1.0.3 #
- _MVVMContentState now call super.dispose first
1.0.2 #
- kotlin_version is now '1.3.0'
1.0.1 #
- Fix formatting i18N
- fix pubspec descrption, removed author
1.0.0 #
- Fix formatting
- Removed deprecated method inheritFromWidgetOfExactType from presenter_builder
0.0.1 #
- First version : Creates a MMVMPage with MVVM design pattern