From bb8de2167aa3a5da902fad16f914f4ce2a4a48cb Mon Sep 17 00:00:00 2001 From: Taha Tesser Date: Fri, 8 Sep 2023 11:14:05 +0300 Subject: [PATCH] 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 --- packages/flutter/lib/src/material/drawer.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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