I have used many libraries from the pub dev site in my flutter project and i notices many of them use the bsd, mit or apache 2.0 licence. I want to release this app in the future and have read that you should make sure the library licences are available in the source code. Is this correct?

If I just include them in my pubspec.yaml does this already do this?

If I need to include a reference to all the libraries i use in my project and there licences is there a way to auto generate such a thing in flutter?

I have been reading online and there seems to be a few methods in android to do this e.g.

The produces the following output. enter image description here

Could anybody help me with this?

Thanks a lot :)

1 Answer 1


Well it's been a few years but maybe it can help.

You can use the official Flutter showLicensePage feature (https://api.flutter.dev/flutter/material/showLicensePage.html) which shows the licenses of the packages you are using in the project.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.