The dart doc command (previously called dartdoc ) creates API reference documentation from Dart source code . You can add descriptions to the generated documentation by using documentation comments, which can contain markdown formatting.
Read moreHow do I create a Dart project?
How to create a Dart project manually
Read moreHow do you write a Dart document?
Effective Dart: Documentation
Read more