25 lines
1.3 KiB
Markdown
25 lines
1.3 KiB
Markdown
|
# Dart `dart`
|
||
|
|
||
|
!!! important "This section is rendered asynchronously by default"
|
||
|
|
||
|
!!! info
|
||
|
[**Dart**](https://dart.dev/) is a client-optimized language for fast apps on any platform
|
||
|
|
||
|
The `dart` section displays the current version of Dart.
|
||
|
|
||
|
This section is displayed only when the current directory is within a Dart project, meaning:
|
||
|
|
||
|
* Upsearch finds a `pubspec.yaml`, `pubspec.yml`, `pubspec.lock` file or `dart_tool` folder
|
||
|
* Contains any other file with `.dart` extension
|
||
|
|
||
|
## Options
|
||
|
|
||
|
| Variable | Default | Meaning |
|
||
|
|:----------------------- |:----------------------------------:| ----------------------------------- |
|
||
|
| `SPACESHIP_DART_SHOW` | `true` | Show section |
|
||
|
| `SPACESHIP_DART_ASYNC` | `true` | Render section asynchronously |
|
||
|
| `SPACESHIP_DART_PREFIX` | `$SPACESHIP_PROMPT_DEFAULT_PREFIX` | Section's prefix |
|
||
|
| `SPACESHIP_DART_SUFFIX` | `$SPACESHIP_PROMPT_DEFAULT_SUFFIX` | Section's suffix |
|
||
|
| `SPACESHIP_DART_SYMBOL` | `🎯·` | Symbol displayed before the section |
|
||
|
| `SPACESHIP_DART_COLOR` | `blue` | Section's color |
|