dwyl/learn-dart

How to use commnents in Dart code?

Open

#5 opened on Jan 15, 2020

 (0 comments) (1 reaction) (0 assignees) (10 forks)auto 404
enhancementgood first issue

Repository metrics

Stars
 (44 stars)
PR merge metrics
 (PR metrics pending)

Description

Add a section in README to describe how to use comments in Dart code

  • line comment with //
  • block comment /*...*/
  • documentation comment with ///. Can be useful with dartdoc which is a tool to convert doc comment to html. Markdown format can be used in doc comment

ref: https://dart.dev/guides/language/effective-dart/documentation

Contributor guide