To add Scope to your project...
Run this command from your package root.
With Dart:
$ dart pub add scope
This will add a line like this to your package's pubspec.yaml (and run dart pub get):
dart pub get
dependencies: scope: ^1.0.0
Now in your Dart code add:
import 'package:scope/scope.dart';
Last updated 4 years ago