showArnaAboutDialog function

void showArnaAboutDialog({
  1. required BuildContext context,
  2. Widget? applicationIcon,
  3. String? applicationName,
  4. String? developerName,
  5. String? applicationVersion,
  6. Uri? applicationUri,
  7. bool useRootNavigator = true,
  8. RouteSettings? routeSettings,
  9. 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,
  );
}