easy_mvvm 0.1.0 copy "easy_mvvm: ^0.1.0" to clipboard
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 granular property-based reactivity system:
    • Implemented property-specific listeners with addPropertyListener and removePropertyListener
    • Added notifyPropertyChange and notifyPropertiesChanged for targeted UI updates
    • Added PropertyBuilder widget for single property reactive UI
    • Added MultiPropertyBuilder widget for multi-property reactive UI
  • Updated Flutter dependencies in the example app

0.0.13 #

  • Moved ViewModel.init(context) from initState to didChangeDependencies in BaseView (internal class) so the context can be used to call BuildContext.dependOnInheritedWidgetOfExactType.
  • Updated dependencies

0.0.12 #

  • Fix Failed assertion: 'onPopInvokedWithResult == null || onPopInvoked == null'

0.0.11 #

  • Deprecated PopInvokedContextCallback and onPopInvoked, use PopInvokedContextWithResultCallback and onPopInvokedWithResult instead.

0.0.10 #

  • Updated dependencies
  • Reformatted the README to improve readability and structure.

0.0.9 #

  • Updated dependencies
  • Added removePopScope as part of EasyView so PopScope is removed from the Widget tree and enables the ability to add a custom one for more control

0.0.8 #

  • Deprecated ViewModel, use EasyViewModel instead.
  • Deprecated View, use EasyView instead.
  • Updated create view command with EasyView and EasyViewModel
  • Updated create view command with super.key instead of the named Key? parameter in the constructor
  • Added command to check the version of easy_mvvm installed
  • Removed onWillPop from EasyView in favor of canPop and onPopInvoked
  • Updated dependencies

0.0.7 #

  • Fixed compatibility with the url_strategy package
  • Updated creating a view model with as mvvm to make sure the class View 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 class View 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
5
likes
140
points
68
downloads

Publisher

verified publisherrutvik.dev

Weekly Downloads

An easy mvvm solution that includes ways to manage routes, views, viewmodels, and the mvvm architecture

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

animations, args, code_builder, colorize, dart_style, flutter, get_it, meta, pubspec_yaml, recase, universal_platform

More

Packages that depend on easy_mvvm