selectable_text_highlighter

This package helps you to select and highlight the text. You can even set the text styles for both the highlighted as well as unhighlighted text. Along with this you can also provide other toolbar options like select all, cut and copy. You can also provide the pre-highlighted text in the form of the Highlighted Offsets.

Demo:

https://user-images.githubusercontent.com/34715593/125325263-5ce6e980-e35e-11eb-9a07-c2f72f2cccb1.mp4