Flutterde bir widget a tıkladığında google maps uygulamasında belirttiğim adresi açmasını istiyorum ama hata alıyorum yardımcı olur musunuz?

HATA:
I/UrlLauncher( 9229): component name for https://www.google.com/maps/search/?...fer%2C%20Bursa is null
I/UrlLauncher( 9229): component name for https://flutter.dev is null
Error launching Google Maps: Could not launch https://www.google.com/maps/search/?...252C%2520Bursa

KOD:


void launchGoogleMaps(String plusCode) async {
try {
final formattedPlusCode = Uri.encodeComponent(plusCode.replaceAll(' ', '%20').replaceAll(',', '%2C'));
final url = 'https://www.google.com/maps/search/?api=1&query=$formattedPlusCode';
final Uri uri = Uri.parse(url);
if (await canLaunchUrl(uri)) {
await launchUrl(uri);
} else {
throw 'Could not launch $url';
}
} catch (e) {
print('Error launching Google Maps: $e');

showDialog(
context: context,
builder: (BuildContext context) {
return AlertDialog(
title: const Text('Harita Başlatma Hatası'),
content: const Text(
'Google Maps veya başka bir harita uygulaması bulunamadı veya URL geçersiz.'),
actions: <Widget>[
TextButton(
onPressed: () {
Navigator.of(context).pop();
},
child: const Text('Tamam'),
),
],
);
},
);
}
}