# Dart documentation > Dart is an approachable, portable, and productive language for building high-quality apps on any platform. Dart is open source and features sound null safety, a strong static type system with type inference, ahead-of-time native and WebAssembly compilation alongside fast JIT development, and first-class integration with Flutter. This index provides a curated list of official documentation and resources covering the Dart language, core libraries, package ecosystem, interoperability tools, and SDK workflows. ## Getting started - [Dart documentation](https://dart.dev/docs.md): Main entry point for official Dart guides, tutorials, and reference documentation. - [Dart overview](https://dart.dev/overview.md): Introduction to the Dart language, core libraries, native and web platforms, and runtime. - [Get the Dart SDK](https://dart.dev/get-dart.md): Install and update the standalone Dart SDK on Windows, macOS, and Linux. - [Learn Dart](https://dart.dev/learn.md): Learning paths for Dart and Flutter, starting with a hands-on Dart tutorial. - [Dart tutorial](https://dart.dev/learn/tutorial): Build a command-line app that fetches and parses JSON, handles errors, and has automated tests. - [Dart cheatsheet](https://dart.dev/resources/dart-cheatsheet.md): Examples and exercises for Dart syntax, null-aware operators, string interpolation, cascades, and initializers. ## Latest release - [Announcing Dart 3.14](https://dart.dev/blog/announcing-dart-3-14.md): Official announcement for Dart 3.14 covering `dart migrate`, WebAssembly SIMD and exceptions, re-engineered DartPad, and stable native interop generators. - [Dart changelog](https://dart.dev/changelog.md): Release-by-release summary of new features, fixes, deprecations, and breaking changes across the Dart SDK. - [What's new in the docs](https://dart.dev/resources/whats-new.md): Recent additions and updates across `dart.dev` documentation and guides. - [Breaking changes](https://dart.dev/resources/breaking-changes.md): Breaking changes and migration guidance across Dart SDK releases. - [What's new in Flutter 3.50](https://flutter.dev/blog/whats-new-in-flutter-3-50): Companion release announcement for the paired Flutter 3.50 SDK release. ## Dart language - [Introduction to Dart](https://dart.dev/language.md): Tour of core Dart syntax, concepts, and program structure. - [Variables](https://dart.dev/language/variables.md): Variable declarations, null safety defaults, `late`, `final`, and `const`. - [Operators](https://dart.dev/language/operators.md): Operator precedence, arithmetic, comparisons, type tests, null-aware operators, and cascades. - [Built-in types](https://dart.dev/language/built-in-types.md): Numbers, strings, booleans, runes, and symbols in Dart. - [Records](https://dart.dev/language/records.md): Anonymous, immutable aggregate types for bundling multiple values and returning multiple results. - [Collections](https://dart.dev/language/collections.md): Lists, sets, maps, collection `if` and `for` control-flow elements, and null-aware elements. - [Generics](https://dart.dev/language/generics.md): Parameterized types, bounded type parameters, and reified generic runtime behavior. - [Typedefs](https://dart.dev/language/typedefs.md): Type aliases declared with `typedef`, including generic and function type aliases. - [The Dart type system](https://dart.dev/language/type-system.md): Sound static type checking, type inference, and runtime guarantees. - [Patterns](https://dart.dev/language/patterns.md): Destructuring values and matching shapes in variable declarations, `switch` expressions, and control flow. - [Pattern types](https://dart.dev/language/pattern-types.md): Reference for every pattern kind, precedence rule, and matching behavior in Dart. - [Branches](https://dart.dev/language/branches.md): Conditional control flow with `if`, `if-case`, and exhaustive `switch` statements and expressions. - [Loops](https://dart.dev/language/loops.md): Iteration with `for`, `for-in`, `while`, `do-while`, `break`, and `continue`. - [Functions](https://dart.dev/language/functions.md): Positional and named parameters, first-class functions, closures, tear-offs, and generators. - [Metadata](https://dart.dev/language/metadata.md): Built-in, analyzer-supported, and custom annotations for declarations. - [Libraries and imports](https://dart.dev/language/libraries.md): Imports, prefixes, library privacy, and deferred loading. - [Error handling](https://dart.dev/language/error-handling.md): Throwing, catching, and rethrowing exceptions, `try`/`on`/`catch`/`finally`, and `assert`. - [Classes](https://dart.dev/language/classes.md): Class instances, instance variables, implicit interfaces, and static members. - [Constructors](https://dart.dev/language/constructors.md): Generative, named, redirecting, `const`, and `factory` constructors. - [Primary constructors](https://dart.dev/language/primary-constructors.md): Concise class header syntax for declaring constructors and initializing fields together. - [Methods](https://dart.dev/language/methods.md): Instance methods, getters, setters, operator overloads, and abstract methods. - [Extend a class](https://dart.dev/language/extend.md): Inheritance with `extends`, member overrides, `super`, and `noSuchMethod()`. - [Enums](https://dart.dev/language/enums.md): Declaring fixed sets of values and adding fields, methods, and constructors to enhanced enums. - [Dot shorthands](https://dart.dev/language/dot-shorthands.md): Concise `.member` syntax for static members, constructors, and enum values when context provides the type. - [Extension methods](https://dart.dev/language/extension-methods.md): Adding helper methods, getters, and operators to existing types without wrapper classes. - [Extension types](https://dart.dev/language/extension-types.md): Zero-cost compile-time wrappers for static interfaces and foreign-language interop bindings. - [Mixins](https://dart.dev/language/mixins.md): Reusing member implementations across multiple class hierarchies with `mixin` and `on` constraints. - [Class modifiers](https://dart.dev/language/class-modifiers.md): Controlling subtyping and exhaustiveness across library boundaries with `abstract`, `base`, `interface`, `final`, `sealed`, and `mixin`. - [Sound null safety](https://dart.dev/null-safety.md): Introduction to nullable and non-nullable types, initialization, and how Dart detects unsafe uses of `null`. - [Language versioning](https://dart.dev/language/versioning.md): How the SDK constraint sets a package's default language version, per-library version overrides, and language-versioned changes. ## Core libraries - [Core libraries overview](https://dart.dev/libraries.md): Guide to the foundational libraries shipped with the Dart SDK. - [dart:core](https://dart.dev/libraries/dart-core.md): Numbers, collections, strings, `Uri`, `DateTime`, `RegExp`, and core object APIs. - [dart:async](https://dart.dev/libraries/dart-async.md): `Future` and `Stream` APIs for asynchronous programming. - [dart:convert](https://dart.dev/libraries/dart-convert.md): Encoders and decoders for JSON, UTF-8, and custom data formats. - [dart:io](https://dart.dev/libraries/dart-io.md): Files, directories, sockets, HTTP clients and servers, and processes for native and server runtimes. - [dart:math](https://dart.dev/libraries/dart-math.md): Mathematical constants, trigonometry, logarithms, and random number generators. - [Iterable collections](https://dart.dev/libraries/collections/iterables.md): Iteration, searching, filtering, and mapping with `Iterable` collections. - [Using JSON](https://dart.dev/libraries/serialization/json.md): Libraries and resources for JSON serialization, including `dart:convert`, `json_serializable`, and `built_value`. - [Dart API reference](https://api.dart.dev/): API documentation for the Dart SDK libraries. ## Asynchronous programming and concurrency - [Concurrency in Dart](https://dart.dev/language/concurrency.md): Overview of the Dart event loop, `async`/`await`, and parallel execution with isolates. - [Asynchronous programming](https://dart.dev/language/async.md): Language support for futures and streams with `async`, `await`, and `await for`. - [Asynchronous programming: futures, async, await](https://dart.dev/libraries/async/async-await.md): Practical tutorial on writing non-blocking Dart code with `Future`, `async`, and `await`. - [Using streams](https://dart.dev/libraries/async/using-streams.md): Processing sequences of asynchronous events with `await for` and `Stream` combinators. - [Creating streams](https://dart.dev/libraries/async/creating-streams.md): Producing streams with `async*` generator functions and `StreamController`. - [Isolates](https://dart.dev/language/isolates.md): Running CPU-intensive work in parallel across isolated memory heaps with `Isolate.run` and ports. ## Native and JavaScript interoperability - [Interoperability overview](https://dart.dev/interop.md): Guide to calling C, Objective-C, Swift, Java, Kotlin, and JavaScript code from Dart. - [C interop using dart:ffi](https://dart.dev/interop/c-interop.md): Calling native C APIs directly with `dart:ffi` and generating bindings with `package:ffigen`. - [Objective-C and Swift interop](https://dart.dev/interop/objective-c-interop.md): Generating Dart bindings for Apple Objective-C and `@objc` Swift APIs using `package:ffigen`. - [Java and Kotlin interop](https://dart.dev/interop/java-interop.md): Generating Dart bindings for Java and Kotlin libraries on Android and JVM platforms using `package:jnigen`. - [Hooks](https://dart.dev/tools/hooks.md): Compiling and bundling native code assets automatically during package builds with `hook/build.dart`. - [JavaScript interop overview](https://dart.dev/interop/js-interop.md): Static, Wasm-compatible interoperability with browser and JavaScript APIs using `dart:js_interop`. - [JS interop usage](https://dart.dev/interop/js-interop/usage.md): Interop types, `external` members, `@JS()` annotations, object literal constructors, and exporting Dart functions to JavaScript. - [JS types](https://dart.dev/interop/js-interop/js-types.md): Reference for `JSAny`, `JSObject`, `JSArray`, `JSPromise`, `JSIterable`, primitive conversions, and runtime type checks. - [Web interop with package:web](https://dart.dev/interop/js-interop/package-web.md): Accessing browser DOM and Web APIs with `package:web` across JavaScript and WebAssembly targets. ## Packages, pub, and workspaces - [How to use packages](https://dart.dev/tools/pub/packages.md): Adding, importing, and upgrading dependencies from `pub.dev` in Dart projects. - [dart pub](https://dart.dev/tools/pub/cmd.md): Reference for `dart pub` subcommands that manage dependencies, run command-line apps, and publish packages. - [Creating packages](https://dart.dev/tools/pub/create-packages.md): Structuring, documenting, and designing reusable Dart library packages. - [Package layout conventions](https://dart.dev/tools/pub/package-layout.md): Standard directory structure for public libraries, implementation files, tests, examples, hooks, and skills. - [The pubspec file](https://dart.dev/tools/pub/pubspec.md): Reference for `pubspec.yaml` fields, SDK constraints, dependencies, platforms, and topics. - [Package dependencies](https://dart.dev/tools/pub/dependencies.md): Hosted, Git, path, and SDK dependency syntax, version constraints, and overrides. - [Pub workspaces](https://dart.dev/tools/pub/workspaces.md): Managing monorepos with shared dependency resolution and a single `pubspec.lock`. - [Publishing packages](https://dart.dev/tools/pub/publishing.md): Preparing, validating, and publishing packages to `pub.dev`, including automated GitHub Actions publishing. - [Data-driven fixes](https://dart.dev/tools/pub/data-driven-fixes.md): Authoring `fix_data.yaml` rules so consumers can migrate across breaking package API changes with `dart fix`. - [Distributing CLI tools](https://dart.dev/tools/cli-distribution.md): Packaging and distributing Dart command-line executables for developers and end users. - [Commonly used packages](https://dart.dev/resources/useful-packages.md): Popular general-purpose and specialized packages, including packages that expand on the Dart core libraries. - [pub.dev package repository](https://pub.dev/): Official package repository for Dart and Flutter libraries and tools. ## Build with AI - [Build with AI overview](https://dart.dev/ai.md): Tools for building AI-powered Dart apps and connecting coding agents to Dart tooling and documentation. - [Package skills](https://dart.dev/ai/package-skills.md): Discovering, installing, and managing AI coding agent skills distributed by Dart and Flutter packages. - [package:skills CLI](https://dart.dev/tools/package-skills.md): Command-line reference for running `dart run skills@` to install and maintain agent skills. - [Ship skills with packages](https://dart.dev/tools/pub/package-skills.md): Authoring, structuring, linting with `package:skills_lint`, and publishing agent skills inside `pub.dev` packages. - [Dart and Flutter MCP server](https://docs.flutter.dev/ai/tools.md#dart-and-flutter-mcp-server): Connecting AI coding assistants to live analyzer diagnostics, pub search, formatting, fixes, and test execution. - [Developer Knowledge MCP server](https://developers.google.com/knowledge/mcp.md.txt): Giving AI coding agents live search access to official `dart.dev`, `docs.flutter.dev`, and Google developer documentation. - [Genkit for Dart](https://genkit.dev/docs/dart/get-started.md): Get started with Genkit in a Dart backend and connect it to a client app. ## Static analysis, testing, and SDK tools - [Dart tools overview](https://dart.dev/tools.md): Overview of IDE plugins, SDK CLI commands, static analysis, and debugging tools. - [Customizing static analysis](https://dart.dev/tools/analysis.md): Configuring `analysis_options.yaml`, enabling lint sets, excluding files, and adjusting diagnostic severities. - [Diagnostic messages](https://dart.dev/tools/diagnostics): Reference catalog of Dart analyzer diagnostics with explanations and fixes. - [Linter rules](https://dart.dev/tools/linter-rules): Searchable catalog of Dart analyzer lint rules organized by rule set and status. - [All linter rules](https://dart.dev/tools/linter-rules/all.md): Generated `analysis_options.yaml` snippet listing stable, released Dart lint rules. - [Fixing type promotion failures](https://dart.dev/tools/non-promotion-reasons.md): Understanding why nullable fields or variables fail to promote and how to refactor them cleanly. - [dart command-line tool](https://dart.dev/tools/dart-tool.md): Unified CLI entry point for creating, analyzing, formatting, running, testing, migrating, and compiling Dart code. - [dart analyze](https://dart.dev/tools/dart-analyze.md): Running static analysis from the command line and CI pipelines. - [dart fix](https://dart.dev/tools/dart-fix.md): Applying automated lint cleanups and package API migrations across a Dart project. - [dart format](https://dart.dev/tools/dart-format.md): Formatting Dart source code idiomatically with configurable style options. - [dart migrate](https://dart.dev/tools/dart-migrate.md): Automating Dart SDK version constraint upgrades, lint adoption, and code migrations. - [dart compile](https://dart.dev/tools/dart-compile.md): Compiling Dart programs to self-contained native executables, AOT snapshots, JavaScript, and WebAssembly. - [dart build](https://dart.dev/tools/dart-build.md): Building CLI applications and bundling native code assets configured by build hooks. - [Testing Dart apps](https://dart.dev/tools/testing.md): Writing and running unit, asynchronous, and platform-targeted tests with `package:test` and `dart test`. - [build_runner](https://dart.dev/tools/build_runner.md): Running code generation for serialization, mocks, database schemas, and web builds. - [Dart DevTools](https://dart.dev/tools/dart-devtools.md): Profiling CPU, memory, network activity, and performance in Dart and Flutter applications. ## Command-line, server, and web apps - [Command-line and server apps](https://dart.dev/server.md): Building CLI utilities, HTTP servers, and backend services with Dart. - [Server libraries and packages](https://dart.dev/server/libraries.md): Recommended packages for routing (`shelf`), gRPC, databases, and backend workflows. - [Google Cloud with Dart](https://dart.dev/server/google-cloud.md): Running containerized Dart servers on Cloud Run and integrating Google Cloud services. - [Web apps overview](https://dart.dev/web.md): Building browser applications with Dart compiled to WebAssembly (`dart2wasm`) and JavaScript (`dart2js`). - [WebAssembly compilation](https://dart.dev/web/wasm.md): Compiling Dart web apps and standalone modules to WebAssembly, including WasmGC, SIMD, and browser requirements. - [Web deployment](https://dart.dev/web/deployment.md): Optimizing, serving, and securing production Dart web builds. - [Debugging web apps](https://dart.dev/web/debugging.md): Testing and debugging Dart web applications across modern browsers. - [Multiplatform apps](https://dart.dev/multiplatform-apps.md): Building native mobile, desktop, and web user interfaces in Dart with Flutter. ## Effective Dart and resources - [Effective Dart](https://dart.dev/effective-dart.md): Official Dart guidelines for consistent, idiomatic, maintainable code. - [Effective Dart: Style](https://dart.dev/effective-dart/style.md): Naming conventions, import ordering, and formatting rules. - [Effective Dart: Documentation](https://dart.dev/effective-dart/documentation.md): Writing clear `///` doc comments, prose summaries, and Markdown code references. - [Effective Dart: Usage](https://dart.dev/effective-dart/usage.md): Idiomatic usage of collections, null safety, async APIs, and members. - [Effective Dart: Design](https://dart.dev/effective-dart/design.md): Designing clean, evolvable Dart APIs, classes, parameters, and types. - [Dart language evolution](https://dart.dev/resources/language/evolution.md): Version-by-version history of language features added across Dart releases. - [Dart language specification](https://dart.dev/resources/language/spec.md): Formal specification and feature specifications for the Dart language. - [Glossary](https://dart.dev/resources/glossary): Definitions of core Dart language, runtime, and tooling terms. - [Security](https://dart.dev/security.md): Reporting vulnerabilities, reviewing security advisories, and following Dart security practices. - [Dart blog](https://dart.dev/blog): Release announcements, engineering deep dives, and ecosystem updates from the Dart team.