Commit 274205c1 authored by Chris Bracken's avatar Chris Bracken Committed by GitHub

Minor improvements to TextInput docs (#9859)

parent 60c6ecc7
...@@ -13,7 +13,7 @@ import 'text_editing.dart'; ...@@ -13,7 +13,7 @@ import 'text_editing.dart';
export 'dart:ui' show TextAffinity; export 'dart:ui' show TextAffinity;
/// For which type of information to optimize the text input control. /// The type of information for which to optimize the text input control.
enum TextInputType { enum TextInputType {
/// Optimize for textual information. /// Optimize for textual information.
text, text,
...@@ -28,7 +28,7 @@ enum TextInputType { ...@@ -28,7 +28,7 @@ enum TextInputType {
datetime, datetime,
} }
/// A action the user has requested the text input control to perform. /// An action the user has requested the text input control to perform.
enum TextInputAction { enum TextInputAction {
/// Complete the text input operation. /// Complete the text input operation.
done, done,
...@@ -49,7 +49,7 @@ class TextInputConfiguration { ...@@ -49,7 +49,7 @@ class TextInputConfiguration {
this.actionLabel, this.actionLabel,
}); });
/// For which type of information to optimize the text input control. /// The type of information for which to optimize the text input control.
final TextInputType inputType; final TextInputType inputType;
/// What text to display in the text input control's action button. /// What text to display in the text input control's action button.
......
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