Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
b401e765
Unverified
Commit
b401e765
authored
Jun 13, 2018
by
Yegor
Committed by
GitHub
Jun 13, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix some TextInputType dartdocs (#18427)
parent
ed05e933
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
text_input.dart
packages/flutter/lib/src/services/text_input.dart
+3
-3
No files found.
packages/flutter/lib/src/services/text_input.dart
View file @
b401e765
...
...
@@ -23,7 +23,7 @@ export 'dart:ui' show TextAffinity;
class
TextInputType
{
const
TextInputType
.
_
(
this
.
index
)
:
signed
=
null
,
decimal
=
null
;
/// Optimize for
textu
al information.
/// Optimize for
numeric
al 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
<
String
>
_names
=
const
<
String
>[
'text'
,
'multiline'
,
'number'
,
'phone'
,
'datetime'
,
'emailAddress'
,
'url'
,
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment