# Dart

> The language behind Flutter. Flutter builds phone apps for both stores from one set of code.

**Field:** Software Development  
**Category:** Languages

## Think of it like

Think of it like one recipe. The cook makes it for a cafe and for a food truck.

## Definition

Dart is the language of Flutter. Flutter lets one set of code build apps for both iPhone and Android, and for the web too. Dart looks familiar to anyone who knows Java or JavaScript. While you work, it can reload the app in about a second after each change. For release, it is compiled to fast machine code.

## Example

Google makes both Dart and Flutter. A start-up in Toronto builds its delivery app once and ships it to both app stores.

## Example code

```dart
void main() {
  print('Hello, world!');
}
```

A Dart program starts in main, much like C or Java.

## Why it matters

Writing one app instead of two saves a small team a lot of time and money.

## Common mistake

Thinking Dart is only for Flutter. It can run servers and scripts too, though few people use it that way.

## Three principles

- **Flutter's language.** Most people meet Dart through Flutter.
- **One codebase.** Build for phones and the web together.
- **Quick reload.** See each change in the app fast.

## Related terms

- [Kotlin](https://learn.benibix.com/term/development/kotlin)
- [Swift](https://learn.benibix.com/term/development/swift)
- [JavaScript](https://learn.benibix.com/term/development/javascript)
- [Compiled Language](https://learn.benibix.com/term/development/compiled-language)
- [Flutter](https://learn.benibix.com/term/development/flutter)

## Taught in

- [Swift, Kotlin and Dart](https://learn.benibix.com/learn/development-languages/swift-kotlin-and-dart): Programming Languages, 9/12

---

Source: https://learn.benibix.com/term/development/dart
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
