We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8b5d10 commit e3d08fbCopy full SHA for e3d08fb
examples/api/lib/material/popupmenu/popupmenu.0.dart
@@ -19,6 +19,7 @@ class MyApp extends StatelessWidget {
19
@override
20
Widget build(BuildContext context) {
21
return const MaterialApp(
22
+ debugShowCheckedModeBanner: false,
23
title: _title,
24
home: MyStatefulWidget(),
25
);
examples/api/test/material/popupmenu/popupmenu.0.test.dart
@@ -26,4 +26,9 @@ void main() {
26
await tester.pumpAndSettle();
27
expect(find.text('_selectedMenu: itemOne'), findsNothing);
28
});
29
+
30
+ testWidgets('Does not show debug banner', (WidgetTester tester) async {
31
+ await tester.pumpWidget(const example.MyApp());
32
+ expect(find.byType(CheckedModeBanner), findsNothing);
33
+ });
34
}
0 commit comments