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
c575802b
Commit
c575802b
authored
Aug 03, 2015
by
Adam Barth
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #428 from abarth/stocks_visuals
Fix visual bugs in Stocks
parents
ad4c4272
c47a1184
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
drawer.dart
packages/flutter/lib/widgets/drawer.dart
+7
-3
tabs.dart
packages/flutter/lib/widgets/tabs.dart
+1
-2
No files found.
packages/flutter/lib/widgets/drawer.dart
View file @
c575802b
...
...
@@ -68,8 +68,11 @@ class Drawer extends StatefulComponent {
// while dragging.
_performance
.
attachedForce
=
kDefaultSpringForce
;
if
(
navigator
!=
null
)
navigator
.
pushState
(
this
,
(
_
)
=>
_performance
.
reverse
());
if
(
navigator
!=
null
)
{
scheduleMicrotask
(()
{
navigator
.
pushState
(
this
,
(
_
)
=>
_performance
.
reverse
());
});
}
}
void
syncFields
(
Drawer
source
)
{
...
...
@@ -85,7 +88,8 @@ class Drawer extends StatefulComponent {
child:
new
ColorTransition
(
performance:
_performance
,
direction:
showing
?
Direction
.
forward
:
Direction
.
reverse
,
color:
new
AnimatedColorValue
(
colors
.
transparent
,
end:
const
Color
(
0x7F000000
))
color:
new
AnimatedColorValue
(
colors
.
transparent
,
end:
const
Color
(
0x7F000000
)),
child:
new
Container
()
),
onGestureTap:
handleMaskTap
);
...
...
packages/flutter/lib/widgets/tabs.dart
View file @
c575802b
...
...
@@ -34,7 +34,6 @@ const double _kMinTabWidth = 72.0;
const
double
_kMaxTabWidth
=
264.0
;
const
double
_kRelativeMaxTabWidth
=
56.0
;
const
EdgeDims
_kTabLabelPadding
=
const
EdgeDims
.
symmetric
(
horizontal:
12.0
);
const
TextStyle
_kTabTextStyle
=
const
TextStyle
(
textAlign:
TextAlign
.
center
);
const
int
_kTabIconSize
=
24
;
const
double
_kTabBarScrollDrag
=
0.025
;
const
Duration
_kTabBarScroll
=
const
Duration
(
milliseconds:
200
);
...
...
@@ -322,7 +321,7 @@ class Tab extends Component {
Widget
_buildLabelText
()
{
assert
(
label
.
text
!=
null
);
return
new
Text
(
label
.
text
,
style:
_kTabTextStyle
);
return
new
Text
(
label
.
text
);
}
Widget
_buildLabelIcon
()
{
...
...
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