docstring_generator_annotator 1.0.2 docstring_generator_annotator: ^1.0.2 copied to clipboard
A simple dart annotator that can be used for generating docstrings for dart code. Inteded for use as a dependency of the 'docstring_generator' vscode extension.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add docstring_generator_annotator
With Flutter:
$ flutter pub add docstring_generator_annotator
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
docstring_generator_annotator: ^1.0.2
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:docstring_generator_annotator/docstring_generator_annotator.dart';