styx_flutter 2.0.0 styx_flutter: ^2.0.0 copied to clipboard
Flutter specific functionality for Styx
[2.0.0] - 31/01/2022 #
BREAKING CHANGES
-
Removed dependency on
get
and moved torxdart
. -
EntityWatcher now returns
List<Entity>
instead ofList<Rx<Entity>>
. -
BuildContext
'swatchedFilteredEntities
andwatchEntities
methods now returnList<Entity>
instead ofList<Rx<Entity>>
. -
Added a new widget
EntityBuilder
that allows you to mergeValueStreams
into a single value and then rebuilds when those streams emit new values. -
Added new extension
when
onAsyncSnapshot
that simplifies building a widget based on the state of anAsyncSnapshot
. -
Added new extension
styx
onSubject
s that simplifies building a widget based on values emitted by aSubject
. -
Added new extensions
.ps
and.bs
and.rs
on built-in simple types and then on generics that can easily turn a value into aSubject
.
[1.3.1] - 24/06/2021 #
Fixed:
- An issue with too many workers being created and not being cleared from the Watcher.
[1.3.0] - 23/06/2021 #
Initial release! Adds Flutter specific Widgets to use with Styx to inject entities into your widget tree. See example for more info.