Currently, I am trying to use a SearchAnchor on an app. I am frustrated that the suggestionsBuilder property documentation doesn't give a clear characterization of when this function is called.
I see that it is only called if this condition: searchValue != _controller.text is true, at lines 974 and 1024 at: https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/material/search_anchor.dart.
I suggest utilizing this fact to clarify its documentation.
Currently, I am trying to use a SearchAnchor on an app. I am frustrated that the suggestionsBuilder property documentation doesn't give a clear characterization of when this function is called.
I see that it is only called if this condition:
searchValue != _controller.textis true, at lines 974 and 1024 at: https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/material/search_anchor.dart.I suggest utilizing this fact to clarify its documentation.