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 usingDevTools.

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.

SeeLICENSEandPATENT_GRANT.

Using Dart

Visitdart.devto learn more about thelanguage, tools,and to findcodelabs.

Browsepub.devfor more packages and libraries contributed by the community and the Dart team.

Our API reference documentation is published atapi.dart.dev,based on the stable release. (We also publish docs from ourbetaand devchannels, as well as from themain branch).

Security & reporting vulnerabilities

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

Pinned Loading

  1. sdk sdkPublic

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

    Dart 10.2k 1.6k

  2. language languagePublic

    Design of the Dart language

    TeX 2.7k 205

  3. site-www site-wwwPublic

    Source for Dart website

    Dart 967 696

  4. dart-pad dart-padPublic

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

    Dart 1.7k 554

  5. web webPublic

    Lightweight browser API bindings built around JS static interop.

    Dart 134 23

Repositories

Showing 10 of 95 repositories
  • 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,205 BSD-3-Clause 1,567 5,000+ 6 UpdatedOct 22, 2024
  • site-www Public

    Source for Dart website

    dart-lang/site-www’s past year of commit activity
    Dart 967 696 239 4 UpdatedOct 22, 2024
  • native Public

    Dart packages related to FFI and native assets bundling.

    dart-lang/native’s past year of commit activity
    Dart 153 BSD-3-Clause 43 378 (17 issues need help) 14 UpdatedOct 21, 2024
  • test Public

    A library for writing unit tests in Dart.

    dart-lang/test’s past year of commit activity
    Dart 493 213 236 13 UpdatedOct 21, 2024
  • leak_tracker Public

    A framework for memory leak tracking for Dart and Flutter applications.

    dart-lang/leak_tracker’s past year of commit activity
    Dart 390 BSD-3-Clause 23 16 4 UpdatedOct 21, 2024
  • dartdoc Public

    API documentation tool for Dart.

    dart-lang/dartdoc’s past year of commit activity
    Dart 473 BSD-3-Clause 119 264 3 UpdatedOct 21, 2024
  • macros Public

    A Dart mono-repo for macro development.

    dart-lang/macros’s past year of commit activity
    Dart 61 BSD-3-Clause 5 16 2 UpdatedOct 21, 2024
  • pana Public

    Package ANAlysis for Dart

    dart-lang/pana’s past year of commit activity
    Dart 205 BSD-3-Clause 44 26 3 UpdatedOct 21, 2024
  • pub-dev Public

    The pub.dev website

    dart-lang/pub-dev’s past year of commit activity
    Dart 782 BSD-3-Clause 147 342 9 UpdatedOct 21, 2024
  • i18n Public

    A general mono-repo for Dart i18n and l10n packages.

    dart-lang/i18n’s past year of commit activity
    Dart 63 BSD-3-Clause 36 169 11 UpdatedOct 21, 2024