0 purchases
flutter queue it
flutter_queue_it #
Flutter integration with queue_it.
Provides the QueueItWidget widget that listens to the queue and automatically
rebuilds on changes.
Example #
QueueItWidget(
queue: _queue,
builder: (context, snapshot) {
/// `builder` will be called each time the queue updates
final items = _queue.items().toList();
return ListView.builder(
itemCount: items.length,
itemBuilder: (context, index) {
final item = items[index];
return ListTile(
title: Text('Item status: ${item.status.name}'),
);
},
);
},
);
copied to clipboard
For a more in-depth example, check out the example project.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.