Basically i want to search a word in string and then navigate to new screen and highlight text that is searched on searchScreen.
I know how to highlight a string but dont know how to send searched string to new screen.
There is currently no way without a hack. It would require the implementation of a second parameter for the onSelect method.
Like: onSelect: (dynamic value, String criteria) { ... }.
Basically i want to search a word in string and then navigate to new screen and highlight text that is searched on searchScreen. I know how to highlight a string but dont know how to send searched string to new screen.