From ef583871441ccbe0dbf9e85d46c7b500abacc56f Mon Sep 17 00:00:00 2001 From: "Florian RICHER (MrDev023)" Date: Wed, 30 Mar 2022 21:44:38 +0200 Subject: [PATCH] Link: Set cursor to pointer --- lib/widgets/components/link.dart | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/lib/widgets/components/link.dart b/lib/widgets/components/link.dart index e9285dd..af35362 100644 --- a/lib/widgets/components/link.dart +++ b/lib/widgets/components/link.dart @@ -8,11 +8,14 @@ class Link extends StatelessWidget { @override Widget build(BuildContext context) { - return GestureDetector( - child: Text(uri, - style: const TextStyle(decoration: TextDecoration.underline)), - onTap: () { - launch(uri); - }); + return MouseRegion( + cursor: SystemMouseCursors.click, + child: GestureDetector( + child: Text(uri, + style: const TextStyle(decoration: TextDecoration.underline)), + onTap: () { + launch(uri); + }), + ); } }