Link: Set cursor to pointer
This commit is contained in:
parent
1ba7bd9153
commit
ef58387144
1 changed files with 9 additions and 6 deletions
|
@ -8,11 +8,14 @@ class Link extends StatelessWidget {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return GestureDetector(
|
return MouseRegion(
|
||||||
|
cursor: SystemMouseCursors.click,
|
||||||
|
child: GestureDetector(
|
||||||
child: Text(uri,
|
child: Text(uri,
|
||||||
style: const TextStyle(decoration: TextDecoration.underline)),
|
style: const TextStyle(decoration: TextDecoration.underline)),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
launch(uri);
|
launch(uri);
|
||||||
});
|
}),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue