Ch9. When to use startSearch() method?

Hi apprentices :slight_smile:
In Chapter 9 → building the search TextField section:
I’m curious why we didn’t use the startSearch() method for the onSubmitted callback in the search TextField.

onSubmitted: (input) {
    //TODO: why don't use startSearch()?
    if (!previousSearches.contains(input)) {

I guess these are related and same

1 Like

Will be changing in the next editition!

1 Like