| OLD | NEW |
| 1 --- | 1 --- |
| 2 layout: default | 2 layout: default |
| 3 header: | 3 header: |
| 4 css: ["index.css"] | 4 css: ["index.css"] |
| 5 has-permalinks: true | 5 has-permalinks: true |
| 6 --- | 6 --- |
| 7 | 7 |
| 8 # Dart By Example | 8 # Dart By Example |
| 9 | 9 |
| 10 Short snippets of code to help you become productive with Dart. | 10 Short snippets of code to help you become productive with Dart. |
| 11 | 11 |
| 12 {% include guide_toc.html %} | 12 {% include default_toc.html %} |
| 13 | 13 |
| 14 See the [source on Github](https://github.com/dart-lang/dart_by_example/tree/mas
ter/example). | 14 See the [source on Github](https://github.com/dart-lang/dart_by_example/tree/mas
ter/example). |
| 15 | 15 |
| 16 ## Dart I/O and command-line apps | 16 ## Dart I/O and command-line apps |
| 17 | 17 |
| 18 The following examples are all stand-alone apps, such as servers, that run | 18 The following examples are all stand-alone apps, such as servers, that run |
| 19 from the command line. Most of the examples use the `dart:io` library, which is | 19 from the command line. Most of the examples use the `dart:io` library, which is |
| 20 used solely for command-line applications running on a stand-alone Dart VM. | 20 used solely for command-line applications running on a stand-alone Dart VM. |
| 21 <strong>The `dart:io` library does not work in browser-based | 21 <strong>The `dart:io` library does not work in browser-based |
| 22 applications</strong>. | 22 applications</strong>. |
| (...skipping 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1171 | 1171 |
| 1172 * OS and hardware information | 1172 * OS and hardware information |
| 1173 * [Platform class](https://api.dartlang.org/docs/channels/stable/latest/dart_i
o/Platform.html) | 1173 * [Platform class](https://api.dartlang.org/docs/channels/stable/latest/dart_i
o/Platform.html) |
| 1174 | 1174 |
| 1175 * Interacting with processes | 1175 * Interacting with processes |
| 1176 * [Process class](https://api.dartlang.org/docs/channels/stable/latest/dart_io
/Process.html) | 1176 * [Process class](https://api.dartlang.org/docs/channels/stable/latest/dart_io
/Process.html) |
| 1177 | 1177 |
| 1178 * Working with paths | 1178 * Working with paths |
| 1179 * [path Pub package](https://api.dartlang.org/docs/channels/stable/latest/path
.html) | 1179 * [path Pub package](https://api.dartlang.org/docs/channels/stable/latest/path
.html) |
| 1180 | 1180 |
| OLD | NEW |