material_search
material_search copied to clipboard
How can i send searched value/criteria to result view ?
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) { ... }
.