File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
packages/flutter/lib/src/material Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -217,16 +217,13 @@ enum NavigationDestinationLabelBehavior {
217
217
onlyShowSelected,
218
218
}
219
219
220
- /// Destination Widget for displaying Icons + labels in the Material 3
221
- /// Navigation Bars through [NavigationBar.destinations] .
220
+ /// A Material 3 [NavigationBar] destination.
222
221
///
223
- /// The destination this widget creates will look something like this:
224
- /// =======
225
- /// |
226
- /// | ☆ <-- [icon] (or [selectedIcon] )
227
- /// | text <-- [label]
228
- /// |
229
- /// =======
222
+ /// Displays a label below an icon. Use with [NavigationBar.destinations] .
223
+ ///
224
+ /// See also:
225
+ ///
226
+ /// * [NavigationBar] , for an interactive code sample.
230
227
class NavigationDestination extends StatelessWidget {
231
228
/// Creates a navigation bar destination with an icon and a label, to be used
232
229
/// in the [NavigationBar.destinations] .
You can’t perform that action at this time.
0 commit comments