Commonly used packages
Commonly used packages fall into three groups:
Each of the following packages builds upon a ,adding functionality and filling in missing features:
Package | Description | Commonly used APIs |
async | Expands on dart:async, adding utility classes to work with asynchronous computations. For more information, see , part 2, and | AsyncMemoizer, CancelableOperation, FutureGroup, LazyStream, Result, StreamCompleter, StreamGroup, StreamSplitter |
collection | Expands on dart:collection, adding utility functions and classes to make working with collections easier. For more information, see | Equality, CanonicalizedMap, MapKeySet, MapValueSet, PriorityQueue, QueueList |
convert | Expands on dart:convert, adding encoders and decoders for converting between different data representations. One of the data representations is percent encoding, also known as URL encoding. | HexDecoder, PercentDecoder |
Contains two libraries, ansi and io, to simplify working with files, standard streams, and processes. Use the ansi library to customize terminal output. The io library has APIs for dealing with processes, stdin, and file duplication. | copyPath(), isExecutable(), ExitCode, ProcessManager, sharedStdIn |
See Using packageson the Flutter site.Or use the pub.dev site to
See Command-line and server libraries and packages.Or use the pub.dev site to