Add tab 2 callback (#80805)

This commit is contained in:
Abhishek Ghaskata 2021-04-23 23:19:03 +05:30 committed by GitHub
parent f0d35600f6
commit a94e63a61b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -388,6 +388,9 @@ Future<void> main() async {
await tester.tap(find.text('Tab 1'));
expect(callbackTab, 0);
await tester.tap(find.text('Tab 2'));
expect(callbackTab, 1);
});
testWidgets('tabs announce semantics', (WidgetTester tester) async {