-
Notifications
You must be signed in to change notification settings - Fork 1.7k
docgen / dartdoc-viewer: link static methods when referenced as default values #18266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This comment was originally written by @seaneagan "as references in doc comments do" |
Added Area-DartDocViewer, Triaged labels. |
This is work on the docgen side Removed Area-DartDocViewer label. |
This comment was originally written by @seaneagan Actually, should have been more general. I would want to link to any public names referenced by the default value expression. Examples: final Duration ANIM_DURATION_DEFAULT = const Duration(milliseconds: 500); addChild(Node child, [Node parent = const Node.root()]) // ... rotate(num radians, {num min: -PI, max: PI}) // ... |
Moved to dart-lang/dartdoc#97 |
Added MovedToGithub label. |
This issue was originally filed by @seaneagan
For the following method:
min(Iterable iterable, {Comparator comparator = Comparable.compare});
Currently the docs just display the following unstyled text for the default value:
function(Comparable#compare)
It would be useful if it linked to the Comparable.compare docs instead, as references in docs do, with similar styling.
The text was updated successfully, but these errors were encountered: