extended_text
extended_text copied to clipboard
[Help] How to properly override 'onTapUp' method for text?
To be more precise - I want to get 'TapUpDetails' in my 'onTap()' callback, provided to ExtendedText.rich.

extended_text_library-4.03/lib/src/selection/extended-text-selection.dart/CommonTextSelectionGestureDetectorBuilder

I saw the ExtendedTextSelectionGestureDetectorBuilder class in the same file, which has overridable method for this, but didn't find any documentation on how to use it

Thanks
What is the purpose ?
@zmtzawqlp
I wrapped my Scaffold body in GestureDetector to play some animations depending on user tap coordinates, and ExtendedText.rich seems to absorb tap events, causing my code not to execute.
So I wanted to pass the same callback to the text widget, but didn't found how to get dx/dy coordinates when tapping on text
you can use a widgetspan