ArcticZeroo / flutter-search-bar

(mostly) Automatic search-enabled appBar for flutter
BSD 3-Clause "New" or "Revised" License
266 stars 69 forks source link

Add public getter for isSearching #12

Closed chances closed 6 years ago

chances commented 6 years ago

I need to be able to know whether or not search is active when rendering my view.

Without this I can't determine if search was cancelled when the user navigated back from the search bar's LocalHistoryEntry without otherwise interacting with the search bar.

ArcticZeroo commented 6 years ago

Thanks, looks fine to me. Might also be worth adding a handler for when search is cancelled at some point?