Fix Drawer examples are missing dartpad tag (#134219)
fixes [`Drawer` examples are misssing `dartpad` tag]( https://github.com/flutter/flutter/issues/134217) these examples were updated in https://github.com/flutter/flutter/pull/130523
This commit is contained in:
@@ -79,11 +79,11 @@ const Duration _kBaseSettleDuration = Duration(milliseconds: 246);
|
||||
/// are a little bit different, see the Material 3 spec at
|
||||
/// <https://m3.material.io/components/navigation-drawer/overview> for
|
||||
/// more details. While the [Drawer] widget can have only one child, the
|
||||
/// [NavigationDrawer] widget can have list of widgets, which typically contains
|
||||
/// [NavigationDrawer] widget can have a list of widgets, which typically contains
|
||||
/// [NavigationDrawerDestination] widgets and/or customized widgets like headlines
|
||||
/// and dividers.
|
||||
///
|
||||
/// {@tool snippet}
|
||||
/// {@tool dartpad}
|
||||
/// This example shows how to create a [Scaffold] that contains an [AppBar] and
|
||||
/// a [Drawer]. A user taps the "menu" icon in the [AppBar] to open the
|
||||
/// [Drawer]. The [Drawer] displays four items: A header and three menu items.
|
||||
@@ -93,10 +93,10 @@ const Duration _kBaseSettleDuration = Duration(milliseconds: 246);
|
||||
/// ** See code in examples/api/lib/material/drawer/drawer.0.dart **
|
||||
/// {@end-tool}
|
||||
///
|
||||
/// {@tool snippet}
|
||||
/// {@tool dartpad}
|
||||
/// This example shows how to migrate the above [Drawer] to a [NavigationDrawer].
|
||||
///
|
||||
/// ** See code in examples/api/lib/material/navigation_drawer/navigation_drawer.1.dart **
|
||||
/// ** See code in examples/api/lib/material/navigation_drawer/navigation_drawer.0.dart **
|
||||
/// {@end-tool}
|
||||
///
|
||||
/// An open drawer may be closed with a swipe to close gesture, pressing the
|
||||
|
||||
Reference in New Issue
Block a user