Skip to content
pubscout

quiver

3.2.2, released 2 years ago by google.dev

A set of utility libraries for Dart containing collections, async tools, and testing helpers.

WASM-readyQuiet but busy
$ flutter pub add quiver
Source repository

What it does

Quiver provides utility libraries that make common Dart programming tasks easier by adding functionality for collections, async computations, iterables, strings, caching, and testing helpers like FakeAsync.

AI-written summary of version 3.2.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need advanced collection types like BiMap, Multimap, or LruMap.
  • You need async utilities such as CountdownTimer or StreamRouter.
  • You need test helpers like FakeAsync to test time-dependent code.

Skip it when

  • You only need basic Dart features and standard library utilities.
  • You are looking for UI components or state management solutions.

Strengths

  • Comprehensive collection of utility functions and data structures.
  • Useful testing utilities like FakeAsync for controlling time.
  • Well-tested and widely used across the Dart ecosystem.

Weaknesses

  • Some features overlap with built-in Dart SDK improvements over time.
  • Certain classes like Optional are discouraged in modern null-safe codebases.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
1
import 'package:quiver/strings.dart';

void main() {
  bool blank = isBlank('   ');
  print(blank); // true
}

Works with

Packages commonly used together with quiver: ones it builds on, ones built on it, and its own family.