You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found in our decoupling migration, the flutter API docs have long embedded instructional videos from the Flutter youtube channel directly into the API docs, for example:
Outside of the Flutter SDK, this is not supported.
For now, we have come up with a workaround for the existing use cases in the decoupled material_ui and cupertino_ui packages:
/// Learn more about [Scaffold] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=lytQi-slT5Y).
But it would be really nice to have this supported. Having rich, interactive and informative API docs is highlighted feature by Flutter developers as part of a great documentation experience.
Activity
sigurdm commentedon Aug 13, 2026
We have https://dart.googlesource.com/dartdoc.git/+/a4a902be/doc/directives.md#youtube-videos
Does it get sanitized on pub.dev? @isoos ?
isoos commentedon Aug 13, 2026
dartdoc outputs the following snippet, which we remove during sanitization:
Linking this to the discussion in google/dart-neats#402