Fix NavigationDestination
API doc (#103031)
This commit is contained in:
parent
3c9f417326
commit
098aa45f25
@ -217,16 +217,13 @@ enum NavigationDestinationLabelBehavior {
|
|||||||
onlyShowSelected,
|
onlyShowSelected,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Destination Widget for displaying Icons + labels in the Material 3
|
/// A Material 3 [NavigationBar] destination.
|
||||||
/// Navigation Bars through [NavigationBar.destinations].
|
|
||||||
///
|
///
|
||||||
/// The destination this widget creates will look something like this:
|
/// Displays a label below an icon. Use with [NavigationBar.destinations].
|
||||||
/// =======
|
///
|
||||||
/// |
|
/// See also:
|
||||||
/// | ☆ <-- [icon] (or [selectedIcon])
|
///
|
||||||
/// | text <-- [label]
|
/// * [NavigationBar], for an interactive code sample.
|
||||||
/// |
|
|
||||||
/// =======
|
|
||||||
class NavigationDestination extends StatelessWidget {
|
class NavigationDestination extends StatelessWidget {
|
||||||
/// Creates a navigation bar destination with an icon and a label, to be used
|
/// Creates a navigation bar destination with an icon and a label, to be used
|
||||||
/// in the [NavigationBar.destinations].
|
/// in the [NavigationBar.destinations].
|
||||||
|
Loading…
x
Reference in New Issue
Block a user