Search packages, repositories and app categories

Package detailsv3.2.0

dart_pubspec_licenses

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

AndroidiOSmacOSWindowsLinux
30-day downloads
207K
Likes
15
Pub points
140

Install package

flutter pub add dart_pubspec_licenses

Package Overview

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

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

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Introduction

flutter_oss_licenses is a tool to generate detail and better OSS license list using pubspec.yaml/lock files.

Packages

  • flutter_oss_licenses is a tool to generate detail and better OSS license list using pubspec.yaml/lock files.
  • dart_pubspec_licenses is a package to provide APIs to generate dart code. You may use this package to build your own OSS license tools.

Reporting issues

Report any bugs on the project's issues.

URLs

Categories

Dependencies

Dependency list 5 items

Source repository

Projects using this package