flutter_oss_licenses
3.2.0, released 9 months ago by espresso3389.jp
Generates a detailed OSS license list from pubspec.yaml and lock files.
What it does
The package reads your project's pubspec and lock files to produce a comprehensive list of open‑source licenses used. It also supports the `--split-sdk-licenses` flag and deduplicates entries.
AI-written summary of version 3.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to include an OSS license list in your app for compliance
- You want an easy way to generate license data during build or CI
Skip it when
- You require a fully maintained solution (this package is deprecated)
- You need runtime UI components for displaying licenses
Strengths
- Simple wrapper around dart_pubspec_licenses
- Handles duplicate entries automatically
- Supports split‑SDK license flag
Weaknesses
- Deprecated in favor of dart_pubspec_licenses
- Adds no extra functionality beyond re‑exporting
- May not receive future updates
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Alternatives
Packages that do the same job and could replace flutter_oss_licenses.
- pubspec_parse
Parse pubspec.yaml files with a type‑safe API and detailed error reporting.
93Compare - yaml_modify
A library for modifying YAML files.
44Compare - acronym
A simple package to generate acronyms from strings with support for stop words and syllables.
45Compare - pub_version_plus
Command-line tool to easily increment version numbers in pubspec.yaml files.
50Compare
Works with
Packages commonly used together with flutter_oss_licenses: ones it builds on, ones built on it, and its own family.