flutter_queue_it 0.9.0 copy "flutter_queue_it: ^0.9.0" to clipboard
flutter_queue_it: ^0.9.0 copied to clipboard

Flutter integration for QueueIt. Provides a widget that automatically rebuilds when the queue is updated.

flutter_queue_it #

Pub Version codecov

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}'),
        );
      },
    );
  },
);

For a more in-depth example, check out the example project.

2
likes
160
pub points
31%
popularity

Publisher

verified publishersharpsan.dev

Flutter integration for QueueIt. Provides a widget that automatically rebuilds when the queue is updated.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, queue_it

More

Packages that depend on flutter_queue_it