We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 797d34e commit 49f1a6bCopy full SHA for 49f1a6b
packages/flutter/test/widgets/routes_test.dart
@@ -549,8 +549,11 @@ void main() {
549
550
testWidgetsWithLeakTracking('Can autofocus a TextField nested in a Focus in a route.', (WidgetTester tester) async {
551
final TextEditingController controller = TextEditingController();
552
+ addTearDown(controller.dispose);
553
554
final FocusNode focusNode = FocusNode(debugLabel: 'Test Node');
555
+ addTearDown(focusNode.dispose);
556
+
557
await tester.pumpWidget(
558
Material(
559
child: MaterialApp(
0 commit comments