https://github.com/redsolver/dart_license_checker
Shows you which licenses your Flutter/Dart dependencies have.
https://github.com/redsolver/dart_license_checker
Last synced: 8 months ago
JSON representation
Shows you which licenses your Flutter/Dart dependencies have.
- Host: GitHub
- URL: https://github.com/redsolver/dart_license_checker
- Owner: redsolver
- License: mit
- Created: 2021-04-18T09:20:58.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-07-12T17:45:09.000Z (almost 4 years ago)
- Last Synced: 2025-03-28T00:06:00.879Z (about 1 year ago)
- Language: Dart
- Size: 12.7 KB
- Stars: 15
- Watchers: 2
- Forks: 8
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`