Skip to content

Conversation

guidezpl
Copy link
Member

@guidezpl guidezpl commented May 4, 2022

Fixes #103032

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@flutter-dashboard flutter-dashboard bot added f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. labels May 4, 2022
@guidezpl guidezpl marked this pull request as ready for review May 4, 2022 11:05
@guidezpl guidezpl requested a review from HansMuller May 4, 2022 11:05
/// =======
/// A Material 3 [NavigationBar] destination.
///
/// Displays a label below an icon. Use with [NavigationBar.destinations].
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could preserve the original diagram by enclosing it in triple backquotes. Or you could generate a labeled diagram like the one that appears in the AppBar class API doc, using https://flutter.github.io/assets-for-api-docs/

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it's all that useful, given NavigationBar has a runnable code sample. I can add it to a new See also section

@guidezpl
Copy link
Member Author

guidezpl commented May 4, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NavigationDestination API doc formatted strangely
3 participants