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
6beeede1
Commit
6beeede1
authored
Jul 30, 2015
by
Eric Seidel
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #390 from abarth/fix_analyzer
Fix Dart analyzer warnings
parents
ba11e97e
ed4afafa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
game_demo.dart
packages/flutter/example/game/lib/game_demo.dart
+0
-2
dismissable.dart
packages/flutter/lib/widgets/dismissable.dart
+1
-1
No files found.
packages/flutter/example/game/lib/game_demo.dart
View file @
6beeede1
...
...
@@ -9,6 +9,4 @@ import 'package:sky/widgets/widget.dart';
import
'package:sky/widgets/navigator.dart'
;
import
'package:vector_math/vector_math_64.dart'
;
import
'../main.dart'
;
part
'game_demo_world.dart'
;
packages/flutter/lib/widgets/dismissable.dart
View file @
6beeede1
...
...
@@ -167,7 +167,7 @@ class Dismissable extends AnimatedComponent {
_dragUnderway
=
false
;
_dragX
=
event
.
velocityX
.
sign
;
_position
.
end
=
_activeCardDragEndPoint
;
_fadePerformance
.
fling
(
velocity:
event
.
velocityX
.
abs
()
*
_kFlingVelocityScale
);
_fadePerformance
.
fling
(
Direction
.
forward
,
velocity:
event
.
velocityX
.
abs
()
*
_kFlingVelocityScale
);
}
}
...
...
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