From b401e765546098fbc642e09d5a0771f1d0805f5d Mon Sep 17 00:00:00 2001 From: Yegor Date: Wed, 13 Jun 2018 09:20:19 -0700 Subject: [PATCH] fix some TextInputType dartdocs (#18427) --- packages/flutter/lib/src/services/text_input.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/flutter/lib/src/services/text_input.dart b/packages/flutter/lib/src/services/text_input.dart index 18cb2fef69..4a07f4635a 100644 --- a/packages/flutter/lib/src/services/text_input.dart +++ b/packages/flutter/lib/src/services/text_input.dart @@ -23,7 +23,7 @@ export 'dart:ui' show TextAffinity; class TextInputType { const TextInputType._(this.index) : signed = null, decimal = null; - /// Optimize for textual information. + /// Optimize for numerical information. /// /// Requests a numeric keyboard with additional settings. /// The [signed] and [decimal] parameters are optional. @@ -59,7 +59,7 @@ class TextInputType { /// fields. static const TextInputType multiline = const TextInputType._(1); - /// Optimize for numerical information. + /// Optimize for unsigned numerical information without a decimal point. /// /// Requests a default keyboard with ready access to the number keys. /// Additional options, such as decimal point and/or positive/negative @@ -94,7 +94,7 @@ class TextInputType { text, multiline, number, phone, datetime, emailAddress, url, ]; - // Corresponding string name for each the [values]. + // Corresponding string name for each of the [values]. static const List _names = const [ 'text', 'multiline', 'number', 'phone', 'datetime', 'emailAddress', 'url', ];