0 purchases
value stream builder
value_stream_builder #
Don't wait for first value from BehaviorSubject in StreamBuilder - just use ValueStreamBuilder and get non-null snapshot.data.
Usage #
ValueStreamBuilder<String>(
stream: BehaviorSubject.seeded('Foo'),
builder: (context, snapshot) => Text(snapshot.data);
),
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.