queue_future_callback

Creator: coderz1093

Last updated:

0 purchases

queue_future_callback Image
queue_future_callback Images
Add to Cart

Description:

queue future callback

This package is useful when you want to add multiple future callbacks sequentially
A specific use case: you want show popup sequentially to avoid multiple dialog, overlay banner show it at the same time.
Usage #
QueueFutureCallback queueFutureCallBack = QueueFutureCallback();
final popUp1 = Future.delay(Duration(second: 1));
final popUp2 = Future.delay(Duration(second: 1));
final popUp3 = Future.delay(Duration(second: 1));
queueFutureCallBack.addFutureIntoQueue(() => popUp1);
queueFutureCallBack.addFutureIntoQueue(() => popUp2);
queueFutureCallBack.addFutureIntoQueue(() => popUp2);
copied to clipboard

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.

Related Products

More From This Creator