diff --git a/packages/flutter/lib/src/material/drawer.dart b/packages/flutter/lib/src/material/drawer.dart index fb3ac51bbc..b4bd85a947 100644 --- a/packages/flutter/lib/src/material/drawer.dart +++ b/packages/flutter/lib/src/material/drawer.dart @@ -79,11 +79,11 @@ const Duration _kBaseSettleDuration = Duration(milliseconds: 246); /// are a little bit different, see the Material 3 spec at /// 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