rx_command 2.0.5
rx_command: ^2.0.5 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 nowNull
is 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
const
instead ofnew
[1.0.8] - 25.04.2018 #
- RxCommand no longer issues an initial
CommandResult(null,null,false)
unless you setemitInitialCommandResult: true
when creating the command.
[1.0.9] - 26.04.2018 #
- Added an
emitLastResult
parameter to RxCommand factory functions. If true the last result will be transmitted in the data field ofCommandResults
whileisExecuting==true
orhasError==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
observable
property because Subjects now implement Observable interface directly like other Rx implementation.
[2.0.0] - 06.06.2018 #
- Till now the
results
Observable and theRxCommand
itself behaved like aBehaviourSubjects
. This can lead to problems when using with Flutter. From now on the default isPublishSubject
. If you needBehaviourSubject
behaviour, meaning every new listener gets the last received value, you can setemitsLastValueToNewSubscriptions = true
when creatingRxCommand
.
[2.0.1] - 15.06.2018 #
- Bug fix.
createAsync
andcreateAsync1
were missing an await.
[2.0.2] - 19.06.2018 #
- Update to RxDart 0.18.0
[2.0.3] - 21.06.2018 #
- Moved package to Flutter Community
[2.0.4] - 19.08.2018 #
- Fixed
quiver_hashcode
dependency issue.