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
417df36b
Commit
417df36b
authored
Jun 03, 2017
by
Chris Bracken
Committed by
GitHub
Jun 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more detail to TextInputType documentation (#10474)
parent
2cd2a74e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
text_input.dart
packages/flutter/lib/src/services/text_input.dart
+18
-0
No files found.
packages/flutter/lib/src/services/text_input.dart
View file @
417df36b
...
...
@@ -14,23 +14,41 @@ import 'text_editing.dart';
export
'dart:ui'
show
TextAffinity
;
/// The type of information for which to optimize the text input control.
///
/// On Android, behavior may vary across device and keyboard provider.
enum
TextInputType
{
/// Optimize for textual information.
///
/// Requests the default platform keyboard.
text
,
/// Optimize for numerical information.
///
/// Requests a keyboard with ready access to the decimal point and number
/// keys.
number
,
/// Optimize for telephone numbers.
///
/// Requests a keyboard with ready access to the number keys, "*", and "#".
phone
,
/// Optimize for date and time information.
///
/// On iOS, requests the default keyboard.
///
/// On Android, requests a keyboard with ready access to the number keys,
/// ":", and "-".
datetime
,
/// Optimize for email addresses.
///
/// Requests a keyboard with ready access to the "@" and "." keys.
emailAddress
,
/// Optimize for URLs.
///
/// Requests a keyboard with ready access to the "/" and "." keys.
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