doc_widget_annotation 0.2.8 doc_widget_annotation: ^0.2.8 copied to clipboard
This is a simple package that contains annotations to generate code in doc_widget
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add doc_widget_annotation
With Flutter:
$ flutter pub add doc_widget_annotation
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
doc_widget_annotation: ^0.2.8
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:doc_widget_annotation/doc_widget_annotation.dart';