Skip to content

Commit

Permalink
Merge branch 'add-tests-and-docs' of https://github.com/Juliotati/lin…
Browse files Browse the repository at this point in the history
…k_target into add-tests-and-docs
  • Loading branch information
Juliotati committed Aug 15, 2024
2 parents 25587b5 + 28afaf5 commit 8de936e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Adds hyperlink preview behaviour on hover found on browsers.

## Preview

https://github.com/user-attachments/assets/b58f76fb-0e4e-4af5-98ba-2c6d130ade30
https://github.com/user-attachments/assets/9c9da1a6-2854-4ace-bcbb-e3c48c91e2db

## Getting started

Expand Down Expand Up @@ -50,10 +50,7 @@ class MyAppInkwellOrGestureDetector extends StatelessWidget {
return LinkTargetDetector(
target: 'https://dart.dev/',
child: GestureDetector(
child: Text(
'Preview dart.dev',
style: Theme.of(context).textTheme.titleMedium,
),
child: Text('Preview dart.dev'),
),
);
}
Expand Down

0 comments on commit 8de936e

Please sign in to comment.