-
Notifications
You must be signed in to change notification settings - Fork 48
Highlights - Add highlights from the controller #145
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
Comments
Checkout the highlights demo page for a full sample. _controller?.addHighlight(
HighlightM(
textSelection: _selection.copyWith(),
onEnter: (_) {},
onLeave: (_) {},
onSingleTapUp: (_) {},
),
); |
How Text Selection Works I was updating the docs, I thought maybe you need this info. I was digging trough this path to figure out why the adding highlights via the controller did not work properly. |
Screen.Recording.2022-10-04.at.23.26.46.mov
The text was updated successfully, but these errors were encountered: