Currently, a FortuneWidget's animation will not be triggered, when the same value is selected multiple times in a row. This is due to the implementation checking for inequality of a new value.
With this change, FortuneWidgets will be passed a Stream<int> instead of int for the selected property, which triggers the animation whenever the stream sends a new value.
Since this feature changes the public API, it will be shipped with the next major version update.
Currently, a
FortuneWidget
's animation will not be triggered, when the same value is selected multiple times in a row. This is due to the implementation checking for inequality of a new value.With this change,
FortuneWidget
s will be passed aStream<int>
instead ofint
for the selected property, which triggers the animation whenever the stream sends a new value.Since this feature changes the public API, it will be shipped with the next major version update.