- Added SearchBar.onClosed handler for closing of the search bar (it doesn't fire when submitted, only cancelled)
- Updated to Dart 2
- SearchBar's app bar callback is now less strict, and allows any widget to be returned.
- Many variables are now final
- isSearching is a new property on SearchBar, and it's a ValueNotifier. Don't change the value on it yourself or things might be screwed up.
- Added SearchBar.onChanged event which can be set in search bar initialization
- SearchBar.hintText is no longer final or required so you can now assign it values after initialization (e.g. for i18n)
- Add SearchBar.isSearching property to tell whether search is currently active
- Remove a bunch of extra debug. Whoops!
- Adds support for RTL automagically using Directionality
- Add a clear button option to the search bar, which will obviously clear all text when pressed. It's greyed out when there is no text in the bar.
- Replace the named 'hideDivider' property with 'border' to support the newest version of flutter
- Add support for controller in the TextField
- Fix an issue where calling
Navigator.pop
methods insideonSubmitted
would cause a NPE and throw a really gnarly error that doesn't even print to console.
- Fix an issue where a null backgroundColor in appBar caused a white back button. Also, change to
flutter_search_bar
because I'm a genius and locked myself out ofsearch_bar
until I buy gapps for[email protected]
.
- Compile documentation, whoops.
- Initial version