changed mail to link
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:url_launcher/url_launcher.dart';
|
||||||
|
|
||||||
class Profile extends StatelessWidget {
|
class Profile extends StatelessWidget {
|
||||||
const Profile({super.key});
|
const Profile({super.key});
|
||||||
@@ -32,10 +33,14 @@ class Profile extends StatelessWidget {
|
|||||||
style: Theme.of(context).textTheme.titleLarge,
|
style: Theme.of(context).textTheme.titleLarge,
|
||||||
),
|
),
|
||||||
const Padding(padding: EdgeInsets.symmetric(vertical: 5)),
|
const Padding(padding: EdgeInsets.symmetric(vertical: 5)),
|
||||||
Text(
|
TextButton(
|
||||||
'marco@skup.in',
|
onPressed: () => launchUrl(Uri.parse('mailto:marco@skup.in')),
|
||||||
textAlign: TextAlign.center,
|
style: ButtonStyle(
|
||||||
style: Theme.of(context).textTheme.bodyMedium,
|
textStyle: WidgetStatePropertyAll(
|
||||||
|
Theme.of(context).textTheme.bodyMedium,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
child: const Text('marco@skup.in'),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user