@@ -14,6 +14,7 @@ import 'package:flutter/foundation.dart';
1414import 'package:flutter/material.dart' ;
1515import 'package:flutter/rendering.dart' ;
1616import 'package:flutter_test/flutter_test.dart' ;
17+ import 'package:leak_tracker_flutter_testing/leak_tracker_flutter_testing.dart' ;
1718import 'package:vector_math/vector_math_64.dart' show Vector3;
1819
1920import '../widgets/semantics_tester.dart' ;
@@ -2187,7 +2188,10 @@ void main() {
21872188 );
21882189 });
21892190
2190- testWidgets ('BottomNavigationBar handles items.length changes' , (WidgetTester tester) async {
2191+ testWidgets ('BottomNavigationBar handles items.length changes' ,
2192+ // TODO(polina-c): remove when fixed https://github.com/flutter/flutter/issues/145600 [leak-tracking-opt-in]
2193+ experimentalLeakTesting: LeakTesting .settings.withTracked (classes: const < String > ['CurvedAnimation' ]),
2194+ (WidgetTester tester) async {
21912195 // Regression test for https://github.com/flutter/flutter/issues/10322
21922196
21932197 Widget buildFrame (int itemCount) {
@@ -2322,7 +2326,10 @@ void main() {
23222326 );
23232327 }
23242328 for (int pump = 1 ; pump < 9 ; pump++ ) {
2325- testWidgets ('pump $pump ' , (WidgetTester tester) async {
2329+ testWidgets ('pump $pump ' ,
2330+ // TODO(polina-c): remove when fixed https://github.com/flutter/flutter/issues/145600 [leak-tracking-opt-in]
2331+ experimentalLeakTesting: LeakTesting .settings.withTracked (classes: const < String > ['CurvedAnimation' ]).withCreationStackTrace (),
2332+ (WidgetTester tester) async {
23262333 await tester.pumpWidget (runTest ());
23272334 await tester.tap (find.text ('Green' ));
23282335
0 commit comments