Unverified Commit 098aa45f authored by Pierre-Louis's avatar Pierre-Louis Committed by GitHub

Fix `NavigationDestination` API doc (#103031)

parent 3c9f4173
......@@ -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].
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment