easy_mvvm 0.1.0
easy_mvvm: ^0.1.0 copied to clipboard
An easy mvvm solution that includes ways to manage routes, views, viewmodels, and the mvvm architecture
0.1.0 #
- Raised minimum Dart SDK requirement from 2.16.1 to 2.17.0
- Enhanced
EasyViewModel
with proper lifecycle management:- Added
context
tracking with safe access patterns - Added
mounted
property 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
addPropertyListener
andremovePropertyListener
- Added
notifyPropertyChange
andnotifyPropertiesChanged
for targeted UI updates - Added
PropertyBuilder
widget for single property reactive UI - Added
MultiPropertyBuilder
widget for multi-property reactive UI
- Implemented property-specific listeners with
- Updated Flutter dependencies in the example app
0.0.13 #
- Moved
ViewModel.init(context)
frominitState
todidChangeDependencies
inBaseView
(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
PopInvokedContextCallback
andonPopInvoked
, usePopInvokedContextWithResultCallback
andonPopInvokedWithResult
instead.
0.0.10 #
- Updated dependencies
- Reformatted the README to improve readability and structure.
0.0.9 #
- Updated dependencies
- Added
removePopScope
as part ofEasyView
soPopScope
is removed from theWidget
tree and enables the ability to add a custom one for more control
0.0.8 #
- Deprecated
ViewModel
, useEasyViewModel
instead. - Deprecated
View
, useEasyView
instead. - Updated create view command with
EasyView
andEasyViewModel
- Updated create view command with
super.key
instead of the namedKey?
parameter in the constructor - Added command to check the version of
easy_mvvm
installed - Removed
onWillPop
fromEasyView
in favor ofcanPop
andonPopInvoked
- Updated dependencies
0.0.7 #
- Fixed compatibility with the url_strategy package
- Updated creating a view model with
as mvvm
to make sure the classView
within 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 mvvm
to make sure the classView
doesn'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