onItemPressed property
This gives access the highlighted text, the start index and the end index of the highlighted text
Implementation
final Function(String highlightedText, int startIndex, int endIndex)? onItemPressed;
This gives access the highlighted text, the start index and the end index of the highlighted text
final Function(String highlightedText, int startIndex, int endIndex)? onItemPressed;