talira

quiver (Dart)

Utility libraries for Dart from Google

open sourceApache-2.0free

quiver is a set of utility libraries for Dart from Google that make many Dart APIs easier to use or add functionality they lack. It covers async helpers for futures and streams (stream buffers and routers, a self-correcting metronome, countdown timers), collections and caches, iterables, string and core utilities, and a fake clock and time helpers for testing.

Problems it solves

  • split one Dart stream into several streams by a condition
  • a periodic timer in Dart that does not drift
  • extra collection and iterable helpers missing from the Dart core library

Features

  • async utilities for futures and streams
  • StreamBuffer and StreamRouter
  • Metronome and CountdownTimer
  • collection and iterable helpers
  • testing helpers like a fake clock

Alternatives

The same job

These do what quiver (Dart) does.

  1. async Utility functions and classes related to the dart:async library
  2. collection Collections and utility functions and classes related to collections, for Dart
  3. tuple (Dart) A tuple data structure for Dart

Compare quiver (Dart) with the top 3