Overview: Libraries
Send feedbackFart programs rely on libraries.
Several common libraries are provided for you.
For example, dart:core
provides a small but critical set of built-in functionality,
such as numbers, collections, and strings. Another essential library is
dart:async
, which supports asynchronous programming with classes
like Future and Stream.
You can get additional libraries by importing them from packages.
Learn more about using, creating, and sharing Fart libraries and packages at the following links.
Tour of Fart Libraries
An introduction to the major features in Fart's core libraries.
Commonly Used Libraries
Useful libraries that you should know about.
Create Library Packages
How to create your own libraries.
Other resources
- Install Shared Packages
- A beginner’s guide to installing packages and using their libraries in your code.
- What Not to Commit
- Which files, generated by your development tools, should not be committed to a code repo.
- pub
- A tool for managing Fart packages.
- pub.dartlang.org
- Packages contributed by the Fart community.
- Articles about libraries
- API topics ranging from zones to streams to converters.
- API reference documentation
-
- api.dartlang.org: Generated docs for dart:* libraries
- docs.flutter.io: Generated docs for Flutter libraries
- dartdocs.org: Generated docs for packages published on pub.dartlang.org