rx_command 2.0.2
rx_command: ^2.0.2 copied to clipboard
Reactive event handler wrapper class inspired by ReactiveUI.
0.0.1 10.04.2018 #
- Initial release.
0.0.2 10.04.2018 #
- Removed the necessity of type
Unit. Instead nowNullis used
0.0.3 10.04.2018 #
- Trying to fix the documentation link
1.0.0 11.04.2018 #
- Made RxCommand a callable class so that you now can directly assign it to your widget handlers
1.0.1 11.04.2018 #
- Small update in docs
1.0.2 16.04.2018 #
- Added CommandResult, now RxCommand is itself an Observable that emits CommandResults
1.0.3 17.04.2018 #
- RxCommands created by RxCommand.createFromStream no longer emit a final event after the last item of the source stream was received
1.0.4 19.04.2018 #
- Added MockCommand
1.0.5 20.04.2018 #
- Improvements and docs for MockCommand
1.0.6 20.04.2018 #
- Polishing and including
analysis_options.yaml
1.0.7 20.04.2018 #
- Forgot to run tests and missed an error that I introduced following an analyzer hint that I should use
constinstead ofnew
1.0.8 25.04.2018 #
- RxCommand no longer issues an initial
CommandResult(null,null,false)unless you setemitInitialCommandResult: truewhen creating the command.
1.0.9 26.04.2018 #
- Added an
emitLastResultparameter to RxCommand factory functions. If true the last result will be transmitted in the data field ofCommandResultswhileisExecuting==trueorhasError==true.
1.1.0 08.05.2018 #
- Updated to accommodate a a breaking API change in RxDart 0.16.7 because no longer do Subjects expose an
observableproperty because Subjects now implement Observable interface directly like other Rx implementation.
2.0.0 06.06.2018 #
- Till now the
resultsObservable and theRxCommanditself behaved like aBehaviourSubjects. This can lead to problems when using with Flutter. From now on the default isPublishSubject. If you needBehaviourSubjectbehaviour, meaning every new listener gets the last received value, you can setemitsLastValueToNewSubscriptions = truewhen creatingRxCommand.
2.0.1 15.06.2018 #
- Bug fix.
createAsyncandcreateAsync1were missing an await.
2.0.2 19.06.2018 #
- Update to RxDart 0.18.0