mirror of
https://github.com/flutter/samples.git
synced 2026-05-03 21:36:35 +00:00
Update experimental demo app (#1427)
This commit is contained in:
@@ -55,6 +55,14 @@ void main() {
|
||||
// Alert Dialog
|
||||
Finder dialogExample = find.widgetWithText(TextButton, 'Open Dialog');
|
||||
expect(dialogExample, findsOneWidget);
|
||||
|
||||
// Switches
|
||||
Finder switchExample = find.byType(Switch);
|
||||
expect(switchExample, findsNWidgets(4));
|
||||
|
||||
// Checkboxes
|
||||
Finder checkboxExample = find.byType(Checkbox);
|
||||
expect(checkboxExample, findsNWidgets(8));
|
||||
});
|
||||
|
||||
testWidgets(
|
||||
|
||||
Reference in New Issue
Block a user