flutter_async_utils 1.1.0 flutter_async_utils: ^1.1.0 copied to clipboard
Utilities for dealing with stream subscriptions and asynchronous tasks in flutter widgets.
flutter_async_utils #
A few utils to make working with Streams and Futures easier. See the running example at: https://hpoul.github.io/flutter_async_utils/ (example/lib/main.dart)
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.