.dart
💻 CodeText-based

.dart File — Dart Source Code

application/dart

File Inspector

Drop any file to identify its extension and type — runs entirely in your browser

DART

Drop a .dart file here or click to choose

Or drop any file to identify its extension

Expected MIME type:application/dart

Quick Facts

Extension.dart
Full NameDart Source Code
MIME Typeapplication/dart
CategoryCode
TypeText-based (human-readable)
Typical Size1 KB – 50 KB
First Appeared2011

What Is a .dart File?

Dart is a client-optimized programming language developed by Google, primarily known as the language behind the Flutter UI framework for building cross-platform mobile, web, and desktop applications from a single codebase. DART files contain source code in a statically-typed, object-oriented language that supports both ahead-of-time (AOT) compilation for production and just-in-time (JIT) compilation for development with hot reload. Dart features sound null safety, async/await for asynchronous programming, generics, mixins, extension methods, and a comprehensive standard library. The language's most significant impact is through Flutter, Google's UI toolkit that has been adopted by companies like Google (Google Pay), BMW, Alibaba, and eBay for building beautiful, natively compiled applications. Dart can also compile to JavaScript for web deployment and to native code for command-line applications. The language includes built-in support for isolates (lightweight concurrent actors), streams for reactive programming, and strong typing with type inference. Dart's package manager (pub) and package repository (pub.dev) provide access to thousands of packages for Flutter and Dart development.

How to Open .dart Files

VS Code
Android Studio
IntelliJ IDEA
vim
any text editor

Related File Extensions

More Code File Extensions

Other code formats you might encounter

Browse File Extensions by Category

Explore our reference of 259 file extensions with details, programs, and related formats.