This turned out to be a bigger change than I expected and still, the search example is not that elegant, as for me. Majority of the code is dedicated to handling skin tone popup and it follows the internals of picker quite closely. It does the job, but maybe there are ways to make it tidier.
One of the options I see would be making an independent SearchResults widget that can encapsulate the complexity of this feature, but it would require some sort of config approach that can share some settings with picker and introduce search-only options. I think this goes beyond the scope of this PR.
Enhancements suggested in #94 and #95
This turned out to be a bigger change than I expected and still, the search example is not that elegant, as for me. Majority of the code is dedicated to handling skin tone popup and it follows the internals of picker quite closely. It does the job, but maybe there are ways to make it tidier.
One of the options I see would be making an independent
SearchResults
widget that can encapsulate the complexity of this feature, but it would require some sort of config approach that can share some settings with picker and introduce search-only options. I think this goes beyond the scope of this PR.