widget/kaeru_widget/composables/use_stream library
Functions
-
useStream<
T> (Stream< T> stream) → Ref<T?> - Subscribes to a Stream and returns a Ref that is updated with the latest value from the stream.
-
useStreamDefault<
T> (Stream< T> stream, {required T defaultValue}) → Ref<T> - Subscribes to a Stream and returns a Ref that is updated with the latest value from the stream.