void showDialogConfirmation() async {
PackageInfo packageInfo = await PackageInfo.fromPlatform();
String appName = packageInfo.appName;
String packageName = packageInfo.packageName;
String version = packageInfo.version;
String buildNumber = packageInfo.buildNumber;
if (!mounted) return;
showAboutDialog(
context: context,
applicationName: appName,
applicationVersion: 'v$version',
children: [
ListTile(
title: const Text('App Id:'),
subtitle: Text(packageName),
),
ListTile(
title: const Text('Build Number:'),
subtitle: Text(buildNumber),
),
],
applicationIcon: ClipRRect(
borderRadius: BorderRadius.circular(12),
child: ExtendedImage.network(
'https://images.pexels.com/photos/7362647/pexels-photo-7362647.jpeg?auto=compress&cs=tinysrgb&w=600',
width: 80,
height: 80,
fit: BoxFit.cover,
),
),
);
}