1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-10 14:58:34 +00:00

remove some elements and add settings page

This commit is contained in:
Eric Windmill
2025-08-06 12:00:00 -04:00
parent d6138c9ab8
commit d43bd76e6c
7 changed files with 115 additions and 25 deletions

View File

@@ -5,15 +5,14 @@
// gestures. You can also use WidgetTester to find child widgets in the widget
// tree, read text, and verify that the values of widget properties are correct.
import 'package:cupertino_gallery/gallery_home.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:cupertino_gallery/main.dart';
void main() {
testWidgets('Counter increments smoke test', (WidgetTester tester) async {
// Build our app and trigger a frame.
await tester.pumpWidget(const MyApp());
await tester.pumpWidget(const GalleryHome());
// Verify that our counter starts at 0.
expect(find.text('0'), findsOneWidget);