Show the Licenses in your Flutter app

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

Show the Licenses in your Flutter app

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 out my latest course:

Want More?

Invest in yourself with my high-quality Flutter courses.

Flutter Foundations Course

Flutter Foundations Course

Learn about State Management, App Architecture, Navigation, Testing, and much more by building a Flutter eCommerce app on iOS, Android, and web.

Flutter & Firebase Masterclass

Flutter & Firebase Masterclass

Learn about Firebase Auth, Cloud Firestore, Cloud Functions, Stripe payments, and much more by building a full-stack eCommerce app with Flutter & Firebase.

The Complete Dart Developer Guide

The Complete Dart Developer Guide

Learn Dart Programming in depth. Includes: basic to advanced topics, exercises, and projects. Last updated to Dart 2.15.

Flutter Animations Masterclass

Flutter Animations Masterclass

Master Flutter animations and build a completely custom habit tracking application.