dart_license_checker 1.2.1 copy "dart_license_checker: ^1.2.1" to clipboard
dart_license_checker: ^1.2.1 copied to clipboard

Tool to view all dependencies (packages and plugins) you use and their licenses

Dart License Checker #

Shows you which licenses your dependencies have.

┌───────────────────────────┐
│ Package Name  License     │
├───────────────────────────┤
│     barbecue  Apache 2.0  │
│         pana  BSD         │
│         path  BSD         │
│pubspec_parse  BSD         │
│         tint  MIT         │
└───────────────────────────┘

Install #

flutter pub global activate dart_license_checker

Use #

  • Make sure you are in the main directory of your Flutter app or Dart program
  • Execute dart_license_checker

If this doesn't work, you may need to set up your PATH (see https://dart.dev/tools/pub/cmd/pub-global#running-a-script-from-your-path)

Showing transitive dependencies #

By default, dart_license_checker only shows immediate dependencies (the packages you list in your pubspec.yaml).

If you want to analyze transitive dependencies too, you can use the --show-transitive-dependencies flag:

dart_license_checker --show-transitive-dependencies

41
likes
140
points
648
downloads

Publisher

unverified uploader

Weekly Downloads

Tool to view all dependencies (packages and plugins) you use and their licenses

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

barbecue, pana, path, pubspec_parse, tint

More

Packages that depend on dart_license_checker