diff --git a/packages/flutter/lib/src/material/app_bar.dart b/packages/flutter/lib/src/material/app_bar.dart index 35154cde111..c23e295a626 100644 --- a/packages/flutter/lib/src/material/app_bar.dart +++ b/packages/flutter/lib/src/material/app_bar.dart @@ -1262,7 +1262,7 @@ class _SliverAppBarDelegate extends SliverPersistentHeaderDelegate { /// ``` /// {@end-tool} /// -/// {@tool dartpad --template=freeform} +/// {@tool dartpad --template=freeform_no_null_safety} /// /// This sample shows a [SliverAppBar] and it's behaviors when using the [pinned], [snap] and [floating] parameters. ///