Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
098aa45f
Unverified
Commit
098aa45f
authored
May 04, 2022
by
Pierre-Louis
Committed by
GitHub
May 04, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix `NavigationDestination` API doc (#103031)
parent
3c9f4173
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
navigation_bar.dart
packages/flutter/lib/src/material/navigation_bar.dart
+6
-9
No files found.
packages/flutter/lib/src/material/navigation_bar.dart
View file @
098aa45f
...
...
@@ -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].
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment