Licenses/bundled_licenses library
Constants
- robotoLicenseAsset → const String
- Roboto's Apache-2.0 text, bundled beside the TTFs every consuming app ships.
Functions
-
assetLicense(
AssetBundle bundle, List< String> packages, String assetKey) → Stream<LicenseEntry> -
One licence entry for
packages, its text read frombundleatassetKey. -
registerAnthologyLicenses(
{AssetBundle? bundle}) → void - Registers the licences of files this package bundles that pub's NOTICES omit; idempotent.
-
registerAssetLicense(
List< String> packages, String assetKey, {AssetBundle? bundle}) → void -
Adds
assetKey's text underpackagesto LicenseRegistry; it is read only when a page lists licences. -
resetAnthologyLicenseRegistration(
) → void - Lets a test register again after LicenseRegistry.reset.