Skip to content

Generated API reference points to invalid links for Flutter/Dart classes leading to 404s #170868

@jenmerritt

Description

@jenmerritt

Steps to reproduce

The generated API reference for packages seems to have a number 404s referencing invalid pages for Flutter/Dart classes. This was picked up from a review of API ref for arcgis_maps but seems to apply to any generated API ref - here are a few examples from "Flutter Favorite" packages:

This doesn't seem to affect all/most classes, but from our review it has at least affected references to Future, Stream, and Color.

References to Future go to https://api.flutter.dev/flutter/dart-core/Future-class.html instead of https://api.flutter.dev/flutter/dart-async/Future-class.html

References to Stream go to https://api.flutter.dev/flutter/dart-core/Stream-class.html instead of https://api.flutter.dev/flutter/dart-async/Stream-class.html

References to Color go to https://api.flutter.dev/flutter/painting/Color-class.html instead of https://api.flutter.dev/flutter/material/Colors-class.html

Has anyone else seen this? Is this likely a doc generator issue? Or anything configuration wise at the package level?

Expected results

All API references go to the correct, corresponding page.

Actual results

Some API references are hitting invalid pages / 404.

Code sample

Code sample

n/a - see link examples above

Screenshots or Video

Screenshots / Video demonstration

n/a

Logs

Logs

n/a

Flutter Doctor output

Doctor output

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High-priority issues at the top of the work listd: api docsIssues with https://api.flutter.dev/packageflutter/packages repository. See also p: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions