Skip to content

Commit 6278cde

Browse files
committed
Update README.md
1 parent 5db4f8d commit 6278cde

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ All examples can be found [here](https://github.com/Fintasys/emoji_picker_flutte
154154
| backgroundColor | Background color of search view | const Color(0xFFEBEFF2) |
155155
| buttonColor | Fill color of hide search view button | Colors.transparent |
156156
| buttonIconColor | Icon color of hide search view button | Colors.black26 |
157+
| hintText | Custom hint text | 'Search' |
157158
| customSearchView | Customize search view widget | null |
158159

159160
## Backspace-Button

lib/src/search_view/search_view_config.dart

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ class SearchViewConfig {
2828
/// Icon color of hide search view button
2929
final Color buttonIconColor;
3030

31+
/// Custom hint text
32+
final String? hintText;
33+
3134
/// Custom search bar
3235
/// Hot reload is not supported
3336
final SearchViewBuilder? customSearchView;
3437

35-
/// Custom hint text
36-
final String? hintText;
37-
3838
@override
3939
bool operator ==(other) {
4040
return (other is SearchViewConfig) &&

0 commit comments

Comments
 (0)