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
26b29090
Unverified
Commit
26b29090
authored
Sep 02, 2018
by
Viet Do
Committed by
GitHub
Sep 02, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cupertino Countdown Timer Picker doc fix (#21299)
parent
3b21e34e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
date_picker.dart
packages/flutter/lib/src/cupertino/date_picker.dart
+7
-4
No files found.
packages/flutter/lib/src/cupertino/date_picker.dart
View file @
26b29090
...
@@ -15,15 +15,14 @@ const double _kPickerWidth = 330.0;
...
@@ -15,15 +15,14 @@ const double _kPickerWidth = 330.0;
const
Color
_kBackgroundColor
=
CupertinoColors
.
white
;
const
Color
_kBackgroundColor
=
CupertinoColors
.
white
;
// The iOS date picker and timer picker has their width fixed to 330.0 in all
// The iOS timer picker has its width fixed to 330.0 in all modes.
// modes.
//
//
// If the maximum width given to the picker is greater than 330.0, the leftmost
// If the maximum width given to the picker is greater than 330.0, the leftmost
// and rightmost column will be extended equally so that the widths match, and
// and rightmost column will be extended equally so that the widths match, and
// the picker is in the center.
// the picker is in the center.
//
//
// If the maximum width given to the picker is smaller than 330.0, the picker
'
s
// If the maximum width given to the picker is smaller than 330.0, the picker
i
s
//
layout will be broken
.
//
placed in the center and both left side and right side are clipped
.
/// Different modes of [CupertinoTimerPicker].
/// Different modes of [CupertinoTimerPicker].
...
@@ -174,6 +173,7 @@ class _CupertinoTimerPickerState extends State<CupertinoTimerPicker> {
...
@@ -174,6 +173,7 @@ class _CupertinoTimerPickerState extends State<CupertinoTimerPicker> {
return
new
Semantics
(
return
new
Semantics
(
label:
semanticsLabel
,
label:
semanticsLabel
,
excludeSemantics:
true
,
child:
new
Container
(
child:
new
Container
(
alignment:
alignCenterRight
,
alignment:
alignCenterRight
,
padding:
textDirectionFactor
==
1
padding:
textDirectionFactor
==
1
...
@@ -251,6 +251,7 @@ class _CupertinoTimerPickerState extends State<CupertinoTimerPicker> {
...
@@ -251,6 +251,7 @@ class _CupertinoTimerPickerState extends State<CupertinoTimerPicker> {
if
(
widget
.
mode
==
CupertinoTimerPickerMode
.
ms
)
{
if
(
widget
.
mode
==
CupertinoTimerPickerMode
.
ms
)
{
return
new
Semantics
(
return
new
Semantics
(
label:
semanticsLabel
,
label:
semanticsLabel
,
excludeSemantics:
true
,
child:
new
Container
(
child:
new
Container
(
alignment:
alignCenterRight
,
alignment:
alignCenterRight
,
padding:
textDirectionFactor
==
1
padding:
textDirectionFactor
==
1
...
@@ -267,6 +268,7 @@ class _CupertinoTimerPickerState extends State<CupertinoTimerPicker> {
...
@@ -267,6 +268,7 @@ class _CupertinoTimerPickerState extends State<CupertinoTimerPicker> {
else
else
return
new
Semantics
(
return
new
Semantics
(
label:
semanticsLabel
,
label:
semanticsLabel
,
excludeSemantics:
true
,
child:
new
Container
(
child:
new
Container
(
alignment:
alignCenterLeft
,
alignment:
alignCenterLeft
,
child:
new
Container
(
child:
new
Container
(
...
@@ -361,6 +363,7 @@ class _CupertinoTimerPickerState extends State<CupertinoTimerPicker> {
...
@@ -361,6 +363,7 @@ class _CupertinoTimerPickerState extends State<CupertinoTimerPicker> {
return
new
Semantics
(
return
new
Semantics
(
label:
semanticsLabel
,
label:
semanticsLabel
,
excludeSemantics:
true
,
child:
new
Container
(
child:
new
Container
(
alignment:
alignCenterLeft
,
alignment:
alignCenterLeft
,
child:
new
Container
(
child:
new
Container
(
...
...
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