13 lines
531 B
Dart
13 lines
531 B
Dart
// This is a single line comment, which lasts until the end of the line. The Dart linter prefers this one.
|
|
|
|
/* This is also a valid single line comment. Unlike the first one, this one terminates after one of these -> */
|
|
|
|
/*
|
|
You can use the syntax above to make multi line comments as well.
|
|
Like this!
|
|
*/
|
|
|
|
/// These are doc comments. You can use dartdoc to generate doc pages for your classes with these.
|
|
///
|
|
/// Formatting [variable] and [function] names like so allows dartdoc to link to the documentation for those entities.
|