-
-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hyperlink - add pointer cursor by default, important for Flutter web. #316
Comments
This can be done for link that is an image or some widget but won't work for inline link because |
@daohoangson MouseRegion can take TextSpan as child I believe. |
I have just double checked, You are probably confused between:
|
@daohoangson |
Yes, in the mean time I have added mouse region for widgets. You can try it here: https://example-c0xyfny5z.vercel.app/#/images This inline image as link should have the cursor on hover: |
A pre-release version has been published with support for mouse cursor, it requires Flutter 2.2 (that's why it's pre-release). Update your pubspec into something like this: dependencies:
flutter_widget_from_html: ^0.7.0-0 Let me know if it works for you. |
@daohoangson |
@daohoangson Correction to my previous comment. Works fine in Flutter Web, but on Android - still no pointer cursor :-( |
You connect a wireless mouse to your phone? |
@daohoangson Sounds like you are right, I need to test on real Android with connected mouse, not on emulator. |
Yes, I think you need a real device to test this. |
Something like that when standard widget for hyperlink is building:
The text was updated successfully, but these errors were encountered: