flutter_async_utils

A few utils to make working with Streams and Futures easier.

StreamSubscriberMixin

Right now not much more than an extracted version of the StreamSubscriberMixin of https://github.com/flutter/plugins/blob/570932f/packages/firebase_database/lib/ui/utils/stream_subscriber_mixin.dart

FutureTaskStateMixin

Useful for providing asynchronous callbacks to show progress and prevent double-taps.

Work In Progress

Under heavy development. You might take a look at AuthPass which makes heavy use of those simple classes. For example _SelectFileWidgetState.

Libraries

flutter_async_utils