Questions tagged [flutter-search-delegate]

5 questions
1
vote
1 answer

SearchDelegate text direction

how to change text direction to RTL in SearchDelegate From the research, I found a way to change the color, but I did not find a way to change the direction of the text thanks class MySearchDelegte extends SearchDelegate { @override String…
Khalid
  • 123
  • 1
  • 7
0
votes
0 answers

Flutter bloc and SearchDelegate

I am struggling with bloc and search delegate and looking for advice (or an example). I want to be able to trigger a snackbar in the search delegate, go back to the homepage and still be able to press the action button of the search delegate (even…
0
votes
4 answers

SetState() error when closing SearchDelegate

i've built a card which will open a searchDelegate where users can search for cars. When selecting a car, the delegate screen will close onTap: () {close(context, carList[index].id);}. The id will then be updated on the main screen and added to a…
Rohan
  • 17
  • 5
0
votes
1 answer

how to sort in flutter search delegate?

I have a delegate file for search into some items , its working and shows the item but when I type something in the search field the items remain the same , my problem is I don't know how to add a sorting option to this , this is some part of the…
behnami454
  • 77
  • 8
0
votes
0 answers

How to remove leading from Flutter Search delegate?

I'm building a search screen with SearchDelegate in Flutter. But cannot remove the leading from it. I tried to return null for buildLeading(), but it still takes space for leading. if there is any other way to achieve the same UI functionality,…