File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/flutter/test/widgets Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -17656,6 +17656,8 @@ void main() {
17656
17656
});
17657
17657
17658
17658
testWidgets('Can implement TextEditingController', (WidgetTester tester) async {
17659
+ final _TextEditingControllerImpl controller = _TextEditingControllerImpl();
17660
+ addTearDown(controller.dispose);
17659
17661
await tester.pumpWidget(
17660
17662
MediaQuery(
17661
17663
data: const MediaQueryData(),
@@ -17664,7 +17666,7 @@ void main() {
17664
17666
child: EditableText(
17665
17667
autofocus: true,
17666
17668
backgroundCursorColor: Colors.grey,
17667
- controller: _TextEditingControllerImpl() ,
17669
+ controller: controller ,
17668
17670
focusNode: focusNode,
17669
17671
style: textStyle,
17670
17672
cursorColor: cursorColor,
You can’t perform that action at this time.
0 commit comments