Did you know?
Your Flutter app should show the licenses for packages in use. This is often a legal requirement, as many open-source licenses require attribution.
To do this, you have two options:
- call the showLicensePage API directly
- use the AboutListTile widget
Note that the showLicensePage function displays licenses for all the packages your app depends on, including transitive dependencies.
The large number of licenses is expected since even a few direct dependencies can pull in many others.
You can also use a more custom approach and get the raw licenses from the LicenseRegistry class.
For more details, read:
To learn more about how to get your app ready for production, check my latest course:
Previous | Next |
---|---|
Dark and Tinted Icons on iOS 18 | Force Update with Remote Config |