FLUTTER ECOSYSTEM

dart_pubspec_licenses

A library to make it easy to extract OSS license information from Dart packages using pubspec.yaml

Latest version
3.2.0
30-day downloads
193.3K
Likes
9
Pub points
130

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A Dart package that simplifies extracting open-source software (OSS) license information from pubspec.yaml files in Flutter and Dart projects. It enables developers to automatically gather and display license details for all dependencies, promoting compliance with licensing requirements. The tool is particularly useful during app packaging and publishing workflows, ensuring transparency and legal adherence. It supports multiple platforms including Android, iOS, macOS, Windows, and Linux.

Use cases
  • Generating license reports for app releases
  • Ensuring compliance with open-source licenses
  • Automating license disclosure in apps
  • Integrating license data into build processes
  • Displaying licenses in app settings
Key features
  • Extracts licenses from pubspec.yaml
  • Supports multi-platform builds
  • Simple CLI integration
  • Facilitates OSS compliance
  • Generates structured license output
Suitable for
  • Flutter developers
  • Open-source compliance teams
  • App publishers
  • Build automation scripts
  • Legal or audit preparation
Considerations
  • Requires pubspec.yaml to include license metadata
  • May need manual license verification
  • Not a substitute for legal advice
  • Limited to declared licenses in pubspec
  • Depends on dependency metadata accuracy
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add dart_pubspec_licenses

Categories

Source repository

Related projects