To add Scope to your project...

Depend on it

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):

  scope: ^1.0.0

Import it

Now in your Dart code add:

import 'package:scope/scope.dart';

Last updated