Skip to content
@dart-lang

Dart

Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.

Dart

An approachable, portable, and productive language for high-quality apps on any platform

Dart is:

  • Approachable: Develop with a strongly typed programming language that is consistent, concise, and offers modern language features like null safety and patterns.

  • Portable: Compile to ARM, x64, or RISC-V machine code for mobile, desktop, and backend. Compile to JavaScript or WebAssembly for the web.

  • Productive: Make changes iteratively: use hot reload to see the result instantly in your running app. Diagnose app issues using DevTools.

Dart's flexible compiler technology lets you run Dart code in different ways, depending on your target platform and goals:

  • Dart Native: For programs targeting devices (mobile, desktop, server, and more), Dart Native includes both a Dart VM with JIT (just-in-time) compilation and an AOT (ahead-of-time) compiler for producing machine code.

  • Dart Web: For programs targeting the web, Dart Web includes both a development time compiler (dartdevc) and a production time compiler (dart2js).

License & patents

Dart is free and open source.

See LICENSE and PATENT_GRANT.

Using Dart

Visit dart.dev to learn more about the language, tools, and to find codelabs.

Browse pub.dev for more packages and libraries contributed by the community and the Dart team.

Our API reference documentation is published at api.dart.dev, based on the stable release. (We also publish docs from our beta and dev channels, as well as from the main branch).

Security & reporting vulnerabilities

To report potential vulnerabilities, please see our security policy on https://dart.dev/security.

Pinned Loading

  1. sdk sdk Public

    The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.

    Dart 10.4k 1.6k

  2. language language Public

    Design of the Dart language

    TeX 2.7k 207

  3. site-www site-www Public

    The source for the Dart website.

    Dart 974 708

  4. dart-pad dart-pad Public

    An online Dart editor with support for console, web, and Flutter apps.

    Dart 1.7k 563

  5. web web Public

    Lightweight browser API bindings built around JS static interop.

    Dart 138 28

Repositories

Showing 10 of 66 repositories
  • tools Public

    This repository is home to tooling related Dart packages.

    dart-lang/tools’s past year of commit activity
    Dart 37 BSD-3-Clause 34 519 (12 issues need help) 11 Updated Jan 22, 2025
  • native Public

    Dart packages related to FFI and native assets bundling.

    dart-lang/native’s past year of commit activity
    Dart 173 BSD-3-Clause 55 388 (24 issues need help) 11 Updated Jan 22, 2025
  • sdk Public

    The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.

    dart-lang/sdk’s past year of commit activity
    Dart 10,401 BSD-3-Clause 1,607 5,000+ 9 Updated Jan 22, 2025
  • http Public

    A composable API for making HTTP requests in Dart.

    dart-lang/http’s past year of commit activity
    Dart 1,039 BSD-3-Clause 363 363 21 Updated Jan 22, 2025
  • site-www Public

    The source for the Dart website.

    dart-lang/site-www’s past year of commit activity
    Dart 974 708 252 11 Updated Jan 22, 2025
  • glob Public

    Bash-style filename globbing for Dart.

    dart-lang/glob’s past year of commit activity
    Dart 56 BSD-3-Clause 18 10 1 Updated Jan 22, 2025
  • dart_style Public

    An opinionated formatter/linter for Dart code

    dart-lang/dart_style’s past year of commit activity
    Dart 663 BSD-3-Clause 123 51 1 Updated Jan 21, 2025
  • shelf Public

    Web server middleware for Dart

    dart-lang/shelf’s past year of commit activity
    Dart 940 BSD-3-Clause 126 60 6 Updated Jan 21, 2025
  • test Public

    A library for writing unit tests in Dart.

    dart-lang/test’s past year of commit activity
    Dart 501 215 238 13 Updated Jan 21, 2025
  • dart-pad Public

    An online Dart editor with support for console, web, and Flutter apps.

    dart-lang/dart-pad’s past year of commit activity
    Dart 1,726 BSD-3-Clause 563 97 (1 issue needs help) 8 Updated Jan 21, 2025