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
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.
- matcherquiver depends on itSupport for specifying test expectations via an extensible Matcher class.
- ffigenBuilt on quiverGenerator for FFI bindings, using LibClang to parse C, Objective-C, and Swift files.
- crypto_keysBuilt on quiverLibrary for signing, verifying, encrypting and decrypting using pointycastle.
- uriBuilt on quiverUtilities for building and parsing URIs, including RFC 6570 template support
- dart_quill_deltaBuilt on quiverDart port of Quill Delta JSON format for rich-text documents
- jiffyBuilt on quiverParse, manipulate, query, and format dates and times in Dart and Flutter.
- flutter_quillBuilt on quiverA rich text WYSIWYG editor component and toolbar for Flutter apps.
- xtermBuilt on quiverA fast and fully-featured terminal emulator widget for Flutter applications.