LicensePage constructor Null safety

const LicensePage(
  1. {Key? key,
  2. String? applicationName,
  3. String? applicationVersion,
  4. Widget? applicationIcon,
  5. String? applicationLegalese}
)

Creates a page that shows licenses for software used by the application.

The arguments are all optional. The application name, if omitted, will be derived from the nearest Title widget. The version and legalese values default to the empty string.

The licenses shown on the LicensePage are those returned by the LicenseRegistry API, which can be used to add more licenses to the list.

Implementation

const LicensePage({
  Key? key,
  this.applicationName,
  this.applicationVersion,
  this.applicationIcon,
  this.applicationLegalese,
}) : super(key: key);