flutter_mobx 2.3.0
flutter_mobx: ^2.3.0 copied to clipboard
Flutter integration for MobX. It provides a set of Observer widgets that automatically rebuild when the tracked observables change.
2.3.0 #
- REFACTOR: export
MultiReactionBuilderfromflutter_mobx.dart(#946). - FIX: package upgrades, analysis issue fixes.
- FIX: stacktrace in computed (#988).
- FIX: If builder of Observer errors, further error LateInitializationError: Local 'built' has not been initialized. will happen in addition to the actual error, reducing developer experience #780.
- FIX: Disable button Remove Completed, when the completed task is occult on screen. (#73).
- FEAT: add
MultiReactionBuilderwidget (#917).
2.2.2 #
- fix: removed runtime asserts and nullables from
Observer.withBuiltChild- @subzero911
2.2.1+1 #
- Analyzer fixes
2.2.1 #
- Upgrading packages and sdk
2.2.0+2 #
pubspec.yamlupdated to include homepage and topics
2.2.0+1 #
- renamed
Observer.withChildtoObserver.withBuiltChild
2.2.0 #
Observeris updated with the newObserver.withBuiltChildconstructor, so you can exclude child branch from the re-rendering. - @subzero911
In case if you useObserver.withBuiltChild, you should provide two parameters:builderWithChildandchild:Observer.withBuiltChild( builderWithChild: (context, child) => FooWidget(foo: foo, bar: child), child: BarWidget(), // won't rebuild ),
2.1.0+1 #
- Patching to update the version in the library file
2.0.6+3 2.0.6+5 #
- Moved the version into its own file (
version.dart) and exported from the main library file - Bringing the
version.dartfile in sync withpubspec.yaml - Updated Changelog to change insecure link
2.0.6+2 #
- Fixed issue in showing issue tracker link on pub.dev
2.0.6 2.0.6+1 #
- Adding support for previous versions of Flutter SDK
2.0.5+1 #
- Package upgrades
2.0.5 #
- Improve
debugFindConstructingStackFrameto let the message be less confusing to the reader - Allow disabling
No observables detected in the build method of Observer - The
analyzer: ^3.0.0in master branch is incompatible with Flutter stable - If
builderofObservererrors, further errorLateInitializationError: Local 'built' has not been initialized.will happen in addition to the actual error, reducing developer experience
2.0.4 #
- Introducing a ReactionBuilder widget that helps you create an inline reaction and eliminates the need
to have a wrapper-
StatefulWidgetthat uses theinitStateto do the same. You can read more in the docs for ReactionBuilder.
2.0.3 2.0.3+2 #
- Package upgrades
- Minor cleanups
- Adopting the recommended linting for Dart
2.0.2 #
- Moved
analyzerpackage to2.0.0- @davidmartos96
2.0.1 #
- Moving from
mockitotomocktail
2.0.0 #
- Full support for Null Safety
2.0.0-nullsafety.0 2.0.0-nullsafety.3 #
- Null safety support
1.1.0+2 #
- Reformatting for improving the pub.dev score
1.1.0 1.1.0+1 #
- Exceptions are reported more reliably with
FlutterError.reportError. This also includes the stack trace, as all caught exceptions are now wrapped insideMobXCaughtException. - Syncing versions with pubspec.yaml
1.0.0 1.0.1 #
- Ready for prime time!
- Fixing version resolution
0.3.7 #
- Refactoring
observer.dartto separate out theStatelessObserverWidget,StatefulObserverWidgetand theObserverWidgetMixininto their own files.
0.3.6+1 0.3.6+2 #
- README updates
- Switching to Github Actions for all builds and publishing
- Upgraded to
Dart 2.7as the min SDK
0.3.5 0.3.6 #
- Updated
mobxdependency version to 0.4.0 influtter_mobxpubspec.yaml - Improved naming of
Observerin debug-mode with the correct line in StackTrace.
Thanks to Scott Hyndman for all the contributions in this release.
0.3.4 0.3.4+4 #
- Added two new
Observer-widgets:StatelessObserverWidgetandStatefulObserverWidget - Improved the reporting of Flutter errors inside
Observerwidgets. - Exposing the
debugAddStackTraceInObserverNamefield - Removing the deprecated
authorsfield frompubspec.yaml
Thanks to Scott Hyndman and Remi Rousselet for the work done in this release!
0.3.3+3 #
- More documentation comments
0.3.2 0.3.3+1 #
- Errors that occur internal to the
setState()call are now reported viaFlutterError.reportErrorso they don't go unnoticed by the user. - Added a version constant that matches the
pubspec.yaml
0.3.0 0.3.1+1 #
- Adapting to the API changes in
mobx 0.3.0 - Formatting changes
- Using
StackTrace.currentas the name for anObserver, when not provided. This helps in quickly jumping to the location of theObserver-usage during debugging. - Docs update
0.2.3+1 #
Observeris relaying the exception caught during the tracking phase. This is done using theerrorValuefield present on thereactioninstance.
0.2.2 #
- CHANGELOG updates which got missed out in previous versions
- The
Observerdoes not trap exceptions occurring during thebuild()anymore. Previously, this used to be the case, which made it difficult to get proper stack traces.
0.2.1+1 #
- README updates
0.2.1 #
- Upgrading to use the
0.2.1version ofmobx, which makes it compatible with the latestbeta/dev/masterchannels
0.2.0 #
- Upgrading to use the
0.2.0version ofmobx
0.0.2 0.1.3 #
- Warn when no observables are found in the
Observer'sbuilderfunction. This was originally anAssertionError, which was deemed to be too strong and caused apps to crash in debug mode. - Updates to tests
- Updates to documentation
0.0.1 First release. #
- Observer component that re-renders when reactive variables change.



