Displays a LicensePage, which shows licenses for software used by the application.
The arguments correspond to the properties on LicensePage.
If the application has a Drawer, consider using AboutDrawerItem instead of calling this directly.
The AboutDialog shown by showAboutDialog includes a button that calls showLicensePage.
The licenses shown on the LicensePage are those returned by the LicenseRegistry API, which can be used to add more licenses to the list.
Source
void showLicensePage({ @required BuildContext context, String applicationName, String applicationVersion, Widget applicationIcon, String applicationLegalese }) { // TODO(ianh): remove pop once https://github.com/flutter/flutter/issues/4667 is fixed Navigator.pop(context); Navigator.push(context, new MaterialPageRoute<Null>( builder: (BuildContext context) => new LicensePage( applicationName: applicationName, applicationVersion: applicationVersion, applicationLegalese: applicationLegalese ) )); }