Update MenuAnchor API examples (#156404)

## Description

Cleanup MenuAnchor API examples:
- Remove usage of useMaterial3
- fix some formatting issues
This commit is contained in:
Bruno Leroux
2024-10-08 21:15:07 +02:00
committed by GitHub
parent 34457fe1f5
commit 480869afe7
5 changed files with 10 additions and 14 deletions

View File

@@ -51,6 +51,7 @@ void main() {
expect(find.text(example.MenuBarApp.kMessage), findsOneWidget);
expect(find.text('Last Selected: Show Message'), findsOneWidget);
});
testWidgets('Shortcuts work', (WidgetTester tester) async {
await tester.pumpWidget(
const example.MenuBarApp(),