diff --git a/packages/flutter/lib/src/widgets/editable_text.dart b/packages/flutter/lib/src/widgets/editable_text.dart index e59d3a018e..bfdc2b99b2 100644 --- a/packages/flutter/lib/src/widgets/editable_text.dart +++ b/packages/flutter/lib/src/widgets/editable_text.dart @@ -104,14 +104,12 @@ class TextEditingController extends ValueNotifier { /// movement. This widget does not provide any focus management (e.g., /// tap-to-focus). /// -/// Rather than using this widget directly, consider using [InputField], which -/// adds tap-to-focus and cut, copy, and paste commands, or [TextField], which +/// Rather than using this widget directly, consider using [TextField], which /// is a full-featured, material-design text input field with placeholder text, /// labels, and [Form] integration. /// /// See also: /// -/// * [InputField], which adds tap-to-focus and cut, copy, and paste commands. /// * [TextField], which is a full-featured, material-design text input field /// with placeholder text, labels, and [Form] integration. class EditableText extends StatefulWidget { diff --git a/packages/flutter/test/material/text_field_test.dart b/packages/flutter/test/material/text_field_test.dart index c15ad7a489..75b321f6c0 100644 --- a/packages/flutter/test/material/text_field_test.dart +++ b/packages/flutter/test/material/text_field_test.dart @@ -640,7 +640,7 @@ void main() { expect(inputBox.hitTest(new HitTestResult(), position: inputBox.globalToLocal(newFourthPos)), isFalse); }); - testWidgets('InputField smoke test', (WidgetTester tester) async { + testWidgets('TextField smoke test', (WidgetTester tester) async { String textFieldValue; Widget builder() { @@ -672,7 +672,7 @@ void main() { await checkText('Hello World'); }); - testWidgets('InputField with global key', (WidgetTester tester) async { + testWidgets('TextField with global key', (WidgetTester tester) async { final GlobalKey textFieldKey = new GlobalKey(debugLabel: 'textFieldKey'); String textFieldValue;