showArnaAboutDialog function
void
showArnaAboutDialog({
- required BuildContext context,
- Widget? applicationIcon,
- String? applicationName,
- String? developerName,
- String? applicationVersion,
- Uri? applicationUri,
- RouteSettings? routeSettings,
- Offset? anchorPoint,
Displays an ArnaAboutDialog, which describes the application and provides a button to show licenses for software used by the application.
The arguments correspond to the properties on ArnaAboutDialog.
The licenses shown on the ArnaLicensePage are those returned by the LicenseRegistry API, which can be used to add more licenses to the list.
The context
, useRootNavigator
, routeSettings
and anchorPoint
arguments are passed to showArnaDialog, the
documentation for which discusses how it is used.
Implementation
void showArnaAboutDialog({
required BuildContext context,
Widget? applicationIcon,
String? applicationName,
String? developerName,
String? applicationVersion,
Uri? applicationUri,
bool useRootNavigator = true,
RouteSettings? routeSettings,
Offset? anchorPoint,
}) {
showArnaPopupDialog<void>(
context: context,
title: 'About',
useRootNavigator: useRootNavigator,
builder: (BuildContext context) {
return ArnaAboutDialog(
applicationIcon: applicationIcon,
applicationName: applicationName,
developerName: developerName,
applicationVersion: applicationVersion,
applicationUri: applicationUri,
);
},
routeSettings: routeSettings,
anchorPoint: anchorPoint,
);
}