changed mail to link

This commit is contained in:
2026-07-16 14:29:38 +02:00
parent 7fb16c6319
commit b5254fa104
+9 -4
View File
@@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:url_launcher/url_launcher.dart';
class Profile extends StatelessWidget {
const Profile({super.key});
@@ -32,10 +33,14 @@ class Profile extends StatelessWidget {
style: Theme.of(context).textTheme.titleLarge,
),
const Padding(padding: EdgeInsets.symmetric(vertical: 5)),
Text(
'marco@skup.in',
textAlign: TextAlign.center,
style: Theme.of(context).textTheme.bodyMedium,
TextButton(
onPressed: () => launchUrl(Uri.parse('mailto:marco@skup.in')),
style: ButtonStyle(
textStyle: WidgetStatePropertyAll(
Theme.of(context).textTheme.bodyMedium,
),
),
child: const Text('marco@skup.in'),
),
],
),