Commit 76ecb0b9 authored by xster's avatar xster Committed by GitHub

Remove InputField (#9520)

parent 10099db4
......@@ -104,14 +104,12 @@ class TextEditingController extends ValueNotifier<TextEditingValue> {
/// 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 {
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment