docs: Add more potential use case for Bottom Navigation Bar (#99644)
This commit is contained in:
@@ -118,6 +118,15 @@ enum BottomNavigationBarLandscapeLayout {
|
||||
///
|
||||
/// ** See code in examples/api/lib/material/bottom_navigation_bar/bottom_navigation_bar.1.dart **
|
||||
/// {@end-tool}
|
||||
///
|
||||
/// {@tool dartpad}
|
||||
/// This example shows [BottomNavigationBar] used in a [Scaffold] Widget with
|
||||
/// different interaction patterns. Tapping twice on the first [BottomNavigationBarItem]
|
||||
/// uses the [ScrollController] to animate the [ListView] to the top. The second
|
||||
/// [BottomNavigationBarItem] shows a Modal Dialog.
|
||||
///
|
||||
/// ** See code in examples/api/lib/material/bottom_navigation_bar/bottom_navigation_bar.2.dart **
|
||||
/// {@end-tool}
|
||||
/// See also:
|
||||
///
|
||||
/// * [BottomNavigationBarItem]
|
||||
|
||||
Reference in New Issue
Block a user