StreamService<T> constructor
StreamService<T> (
- InheritedWidget widget, {
- required Stream<
T> stream, - T? initialValue,
Implementation
StreamService(super.widget, {required Stream<T> stream, T? initialValue})
: _stream = stream,
_value = initialValue;