daco 0.3.0+1 daco: ^0.3.0+1 copied to clipboard
A tool for maintaining Dart comments. Supports formatting of comments, including embedded Dart code.
/// ```dart
/// class Foo {
/// void bar() {
/// const d = "Hallo";
/// const e = 0;
/// }
/// }
///
/// void main() {}
/// ```
///
/// ```dart main
/// final str = '$ajjjh';
/// const foo = '''
/// asdf
/// ''';
/// a({#foo: 'asdf'});
/// const bar = {foo: '$foo'};
/// print({foo: '$foo'});
/// const asdf = '';
/// ```
///
/// ```dart main multi_begin
/// const a = 'a';
/// ```
///
/// ```dart main multi_end
/// const b = '$a';
/// print(b);
/// ```
void main() {}