-
Notifications
You must be signed in to change notification settings - Fork 30.5k
Clarify the docs of suggestionsBuilder of SearchAnchor #183105
Copy link
Copy link
Closed
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectd: api docsIssues with https://api.flutter.dev/Issues with https://api.flutter.dev/f: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectd: api docsIssues with https://api.flutter.dev/Issues with https://api.flutter.dev/f: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Type
Fields
Give feedbackNo fields configured for issues without a type.
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.