diff --git a/packages/flutter/lib/src/material/navigation_bar.dart b/packages/flutter/lib/src/material/navigation_bar.dart index 978bb621ba..364db9b7b9 100644 --- a/packages/flutter/lib/src/material/navigation_bar.dart +++ b/packages/flutter/lib/src/material/navigation_bar.dart @@ -217,16 +217,13 @@ enum NavigationDestinationLabelBehavior { onlyShowSelected, } -/// Destination Widget for displaying Icons + labels in the Material 3 -/// Navigation Bars through [NavigationBar.destinations]. +/// A Material 3 [NavigationBar] destination. /// -/// The destination this widget creates will look something like this: -/// ======= -/// | -/// | ☆ <-- [icon] (or [selectedIcon]) -/// | text <-- [label] -/// | -/// ======= +/// Displays a label below an icon. Use with [NavigationBar.destinations]. +/// +/// See also: +/// +/// * [NavigationBar], for an interactive code sample. class NavigationDestination extends StatelessWidget { /// Creates a navigation bar destination with an icon and a label, to be used /// in the [NavigationBar.destinations].