easy_mvvm 0.1.1
easy_mvvm: ^0.1.1 copied to clipboard
An easy mvvm solution that includes ways to manage routes, views, viewmodels, and the mvvm architecture
0.1.1 #
- Updated dependencies
0.1.0 #
- Raised minimum Dart SDK requirement from 2.16.1 to 2.17.0
- Enhanced
EasyViewModelwith proper lifecycle management:- Added
contexttracking with safe access patterns - Added
mountedproperty to check if view model is still active - Implemented proper disposal mechanism to prevent memory leaks
- Updated
init()method to require a BuildContext and marked with@mustCallSuper - Added safety checks to prevent actions after disposal
- Added
- Added granular property-based reactivity system:
- Implemented property-specific listeners with
addPropertyListenerandremovePropertyListener - Added
notifyPropertyChangeandnotifyPropertiesChangedfor targeted UI updates - Added
PropertyBuilderwidget for single property reactive UI - Added
MultiPropertyBuilderwidget for multi-property reactive UI
- Implemented property-specific listeners with
- Updated Flutter dependencies in the example app
0.0.13 #
- Moved
ViewModel.init(context)frominitStatetodidChangeDependenciesinBaseView(internal class) so the context can be used to callBuildContext.dependOnInheritedWidgetOfExactType. - Updated dependencies
0.0.12 #
- Fix
Failed assertion: 'onPopInvokedWithResult == null || onPopInvoked == null'
0.0.11 #
- Deprecated
PopInvokedContextCallbackandonPopInvoked, usePopInvokedContextWithResultCallbackandonPopInvokedWithResultinstead.
0.0.10 #
- Updated dependencies
- Reformatted the README to improve readability and structure.
0.0.9 #
- Updated dependencies
- Added
removePopScopeas part ofEasyViewsoPopScopeis removed from theWidgettree and enables the ability to add a custom one for more control
0.0.8 #
- Deprecated
ViewModel, useEasyViewModelinstead. - Deprecated
View, useEasyViewinstead. - Updated create view command with
EasyViewandEasyViewModel - Updated create view command with
super.keyinstead of the namedKey?parameter in the constructor - Added command to check the version of
easy_mvvminstalled - Removed
onWillPopfromEasyViewin favor ofcanPopandonPopInvoked - Updated dependencies
0.0.7 #
- Fixed compatibility with the url_strategy package
- Updated creating a view model with
as mvvmto make sure the classViewwithin this package doesn't collide with the flutter class - Updated dependencies
0.0.6 #
- Change the page width for dart formatter when creating new views
0.0.5 #
- Updated creating a view with
as mvvmto make sure the classViewdoesn't collide with the flutter class
0.0.4 #
- App default transition for iOS devices
0.0.3-1 #
- Updated README
0.0.3 #
- Added transition background
- Updated README
0.0.2 #
- Commands to create services, views, and init mvvm project
0.0.1+1 #
- Replaced View.buildView to View.build for readability of code
0.0.1 #
- Initial release