flutter_reactive 1.0.0
flutter_reactive: ^1.0.0 copied to clipboard
A lightweight reactive system for Flutter, inspired by simple state binding.
Changelog #
1.0.0 (🚨 Breaking changes) #
- Old
ReactiveBuilderis nowReactiveBuilder.watch(reactive, builder)andReactiveBuilder(() { ... })now auto-tracks reactive reads directly in the widget builder - Updated
Reactive.build(...)to use the newReactiveBuilder.watch(...)API - Added
ReactiveBuilder.watch2..ReactiveBuilder.watch5 - Changed
list.darttoiterable.dart Reactive.computed(...)is nowReactive.compute(...)and can auto-tracks reactives- Remove
ReactiveStreamBuilderwidget cause it was not relevant - Added new methods to iterable, map and string reactives
- Updated
transform(...)method of reactive lists - Added new methods and operators to Reactives num and string
- Added optional
emitInitialpositional argument tolisten(callback, [emitInitial])to immediately emit the current value on subscription - Updated tests, README examples, and example app to match the new builder and listener APIs
0.1.0 #
- Added transaction support with
Reactive.run(...) - Added
save,restore,unsaveandunsaveAllmethods onReactive - Added
whenmethod onReactivefor conditional reactions - Added
sortmethod toReactiveList - Added optional strict mode argument to
.reactive([strict]) - Added
ReactiveStateBuilderwidget for multiple states in one builder - Renamed
ValidatortoReactiveValidator - Renamed
ValidatorErrortoReactiveValidatorError - Fixed
asmethod to correctly propagate reactive updates - Updated README with new transaction features and examples
- Update example app with transaction usage
0.0.9 #
- Try catch listeners to avoid break
0.0.8 #
- New methodz
build,as,throttle,require,setAsync - Inside
transform, filter can change dynamically now - Added new extensions on
DateTime,DurationandColor
0.0.7 #
- Fix
transformwhere empty list are ignored
0.0.6 #
- Added
lengthextension to StringReactive - Added
transformmethod to Reactive lists
0.0.5 #
- Update README
0.0.4 #
- Added "Recommended Architecture" section to README
- Minor changes in example app
0.0.3 #
- Added ReactiveN for nullable types
- New debounce, mutate and computed methods
- Updated README with new features
0.0.2 #
- Minor fixes and improvements
0.0.1 #
- Initial release