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
2988cab7
Commit
2988cab7
authored
Mar 18, 2016
by
Matt Perry
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2786 from mpcomplete/tabs
Tweak the selected tab indicator animation.
parents
f2d78aed
79d08aad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tabs.dart
packages/flutter/lib/src/material/tabs.dart
+3
-3
No files found.
packages/flutter/lib/src/material/tabs.dart
View file @
2988cab7
...
...
@@ -30,11 +30,11 @@ const double _kMinTabWidth = 72.0;
const
double
_kMaxTabWidth
=
264.0
;
const
EdgeInsets
_kTabLabelPadding
=
const
EdgeInsets
.
symmetric
(
horizontal:
12.0
);
const
double
_kTabBarScrollDrag
=
0.025
;
const
Duration
_kTabBarScroll
=
const
Duration
(
milliseconds:
3
00
);
const
Duration
_kTabBarScroll
=
const
Duration
(
milliseconds:
2
00
);
// Curves for the leading and trailing edge of the selected tab indicator.
const
Curve
_kTabIndicatorLeadingCurve
=
const
Interval
(
0.0
,
0.6
,
curve:
Curves
.
easeOut
)
;
const
Curve
_kTabIndicatorTrailingCurve
=
const
Interval
(
0.3
,
1.0
,
curve:
Curves
.
easeIn
)
;
const
Curve
_kTabIndicatorLeadingCurve
=
Curves
.
easeOut
;
const
Curve
_kTabIndicatorTrailingCurve
=
Curves
.
easeIn
;
// The scrollOffset (velocity) provided to fling() is pixels/ms, and the
// tolerance velocity is pixels/sec.
...
...
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