flutter_license_manager 3.0.0 copy "flutter_license_manager: ^3.0.0" to clipboard
flutter_license_manager: ^3.0.0 copied to clipboard

A comprehensive Flutter package for managing and displaying OSS license information with support for custom licenses and improved UI components.

Changelog #

3.0.0 #

BREAKING CHANGES #

  • Removed packageNames, isMultiplePackages, and packageCount getters from OssLicenseInfo. Each record represents exactly one package — the loader already explodes multi-package registry entries into separate records — so these comma-splitting getters described states the package never produced. Use packageName directly.
  • OssLicenseInfo.licenseCount is now a derived getter, and the optional licenseCount constructor parameter was removed. It was always licenseTexts.length; the parameter only allowed it to desync. Construct with packageName and licenseTexts only.

Changed #

  • Consolidation now removes exact-duplicate license texts within a package: verbatim repeats are collapsed while distinct texts are preserved in order. licenseCount and hasMultipleLicenses reflect the deduplicated set.

Migration #

  • license.packageNames[license.packageName]
  • license.isMultiplePackages → always false (remove the branch)
  • license.packageCount → always 1

2.0.1 #

Fixed #

  • Fixed license text display issue where Carriage Return (\r) characters were not properly handled
  • License text now correctly converts \r\n to \n and standalone \r to \n
  • Resolved problem where license text appeared as one long line instead of properly formatted paragraphs

2.0.0 #

BREAKING CHANGES #

  • Changed licenseText to licenseTexts (List

Added #

  • Support for multiple license texts per package
  • hasMultipleLicenses getter in OssLicenseInfo
  • Proper UI separation with Flutter Divider widgets
  • Dialog-based license viewing in example app

Changed #

  • License text display from text separators to UI widgets
  • Example app UI from expandable cards to dialogs
  • Improved performance with on-demand loading

Removed #

  • Text-based license separators ( × 50)
  • Expandable card implementation in example

1.0.0 #

Added #

  • Initial release
  • Load licenses from Flutter's LicenseRegistry
  • Support for custom licenses
  • License text formatting with proper indentation
  • License consolidation for duplicate packages
  • Example app with implementation examples
0
likes
160
points
821
downloads

Documentation

API reference

Publisher

verified publisherkihyun1998.com

Weekly Downloads

A comprehensive Flutter package for managing and displaying OSS license information with support for custom licenses and improved UI components.

Repository (GitHub)
View/report issues

Topics

#license #oss #open-source #legal #compliance

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_license_manager