Closed
Description
This was raised in Dart-Code, but I think needs to be fixed in the server. I thought there was already an open issue about this here but cannot locate it. I don't know if it's easily fixable, but seems like we should have an issue tracking it here.
This is what completion looked like before:
And this is what it looks like using the new auto-import completions:
Based on comments from @scheglov I think the issue here is that the declared type of the property does not match the one the user wants (because it just uses the parsed AST) and therefore doesn't get ranked at the top.