registerThirdPartyLicenses function

void registerThirdPartyLicenses({
  1. dynamic bundle,
})

Adds the inventory to LicenseRegistry; the texts are read only when a page lists the licences.

Implementation

void registerThirdPartyLicenses({AssetBundle? bundle}) {
  LicenseRegistry.addLicense(() => thirdPartyLicenses(bundle ?? rootBundle));
}