Show Licenses in FlutterMar 28, 2021 . 1 min Muhammed Mukhthar CM
Every piece of software stands in the pillars of great open-source projects. So is Flutter. So at some point, we may like to show off that open-source love we have. Well, there is an easy way to show Licenses in Flutter.
In Flutter, there is a Widget called
It shows a list of all the licenses of the things which are used in Our App.
And there is a Function
This Function shows a
So to show a License Page in Flutter,
all we wanna do is to call
showLicensePage from anywhere in our App.
But obviously, there are more ways to do it in Flutter.
If we put an
AboutListTile in our drawer,
clicking that will bring up an
And that AboutDialog contains a view Licenses Button.
Clicking that will also bring up the
I think you found something useful here.
Let me know your suggestions and opinions in Twitter or drop a mail a email@example.com.
Finally, if you found this helpful, please share this within your reach so that more people can benefit from this. And Follow me on Twitter for getting more posts like these 😉.