flutter_native_oss_licenses library
Flutter and native dependency license collection for consumer applications.
The package merges Flutter's LicenseRegistry with Android Gradle, CocoaPods, and remote Swift Package Manager metadata generated during native builds. Use registerNativeLicenses with Flutter's standard license page or loadMergedLicenses for a custom UI or export.
Classes
- MergedLicenseEntry
- One license text and the packages to which it applies.
Functions
-
loadMergedLicenses(
) → Future< List< MergedLicenseEntry> > - Returns one deterministic snapshot of Flutter and native license notices.
-
registerNativeLicenses(
) → void - Adds generated Android, iOS, and macOS notices to Flutter's LicenseRegistry.