streamful

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

streamful

streamful #
Widgets and utilities to deal with streams
Features #
StreamedLoading #
A circular indicator that will show looking to a boolean stream representing the loading status.
You can customize stroke size and color.
StreamedLoading(
stream: _loadingController.stream,
color: Colors.Blue,
strokeWidth: 4.0,
);
copied to clipboard
Loading mixin #
A mixin that adds a BehaviorSubject<bool> to a class. This way you can easily deal with a stream representing the loading status.
You can set the loading status using loadStart() and loadStop() functions.
To retrieve the loading status you can use the isLoading getter.
StreamWidget #
This is a wrapper of StreamBuilder. It allows to define:

an onData: (data) {} callback that must return the Widget to show when the stream has data
an onError: (error) {} callback that must return the Widget to show when the stream has errors
an onLoad: widget to be returned when the stream has no data nor errors

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.