Skip to main content
Dart
Docs
Overview
Docs
Blog
Community
Learn
Try Dart
Get Dart
search
routine
light_mode
Light
dark_mode
Dark
night_sight_auto
Automatic
apps
Dart
Dart
API
DartPad
pub.dev
menu
close
asterisk
Overview
docs
Docs
newsmode
Blog
public
Community
play_lesson
Learn Dart
download
Get Dart
Language
expand_more
Introduction
Variables
Operators
Comments
Types
expand_more
Built-in types
Records
Collections
Generics
Typedefs
Type system
Patterns
expand_more
Overview & usage
Pattern types
Applied tutorial
open_in_new
Control flow
expand_more
Loops
Branches
Error handling
Functions
Metadata
Libraries & imports
Classes & objects
expand_more
Classes
Constructors
Primary constructors
Methods
Extend a class
Mixins
Enums
Dot shorthands
Extension methods
Extension types
Callable objects
Class modifiers
expand_more
Overview & usage
Class modifiers for API maintainers
Reference
Concurrency
expand_more
Overview
Asynchronous programming
Isolates
Null safety
expand_more
Sound null safety
Understanding null safety
Dart keywords
Language versioning
Core libraries
expand_more
Overview
dart:core
dart:async
dart:math
dart:convert
dart:io
dart:js_interop
Iterable collections
Asynchronous programming
expand_more
Tutorial
Futures and error handling
Using streams
Creating streams
Effective Dart
expand_more
Overview
Style
Documentation
Usage
Design
Packages
expand_more
How to use packages
Creating packages
Distributing CLI tools
Publishing packages
Writing package pages
Workspaces (monorepo support)
Hooks
Ship skills with packages
Package reference
expand_more
Dependencies
Package layout conventions
Pub environment variables