1
0
Fork 0

Link: Set cursor to pointer

This commit is contained in:
Florian RICHER (MrDev023) 2022-03-30 21:44:38 +02:00
parent 1ba7bd9153
commit ef58387144

View file

@ -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);
}),
);
}
}