diff --git a/README.md b/README.md index b640e25..93d3423 100644 --- a/README.md +++ b/README.md @@ -154,6 +154,7 @@ All examples can be found [here](https://github.com/Fintasys/emoji_picker_flutte | backgroundColor | Background color of search view | const Color(0xFFEBEFF2) | | buttonColor | Fill color of hide search view button | Colors.transparent | | buttonIconColor | Icon color of hide search view button | Colors.black26 | +| hintText | Custom hint text | 'Search' | | customSearchView | Customize search view widget | null | ## Backspace-Button diff --git a/lib/src/search_view/search_view_config.dart b/lib/src/search_view/search_view_config.dart index 6af6989..776af84 100644 --- a/lib/src/search_view/search_view_config.dart +++ b/lib/src/search_view/search_view_config.dart @@ -28,13 +28,13 @@ class SearchViewConfig { /// Icon color of hide search view button final Color buttonIconColor; + /// Custom hint text + final String? hintText; + /// Custom search bar /// Hot reload is not supported final SearchViewBuilder? customSearchView; - /// Custom hint text - final String? hintText; - @override bool operator ==(other) { return (other is SearchViewConfig) &&