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
32bbbc64
Commit
32bbbc64
authored
May 04, 2016
by
Phil Quitslund
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3738 from pq/annotate_literals_3
Last literals get their types.
parents
8da98105
98ef5839
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
isolate.dart
examples/layers/services/isolate.dart
+1
-1
data_table_demo.dart
examples/material_gallery/lib/demo/data_table_demo.dart
+1
-1
fitness_demo.dart
examples/material_gallery/lib/demo/fitness_demo.dart
+1
-1
weather_demo.dart
examples/material_gallery/lib/demo/weather_demo.dart
+2
-2
No files found.
examples/layers/services/isolate.dart
View file @
32bbbc64
...
...
@@ -181,7 +181,7 @@ class CalculationManager {
SendPort
sender
=
message
.
sendPort
;
Calculator
calculator
=
new
Calculator
(
onProgressListener:
(
double
completed
,
double
total
)
{
sender
.
send
([
completed
,
total
]);
sender
.
send
(
<
double
>
[
completed
,
total
]);
},
onResultListener:
(
String
result
)
{
sender
.
send
(
result
);
...
...
examples/material_gallery/lib/demo/data_table_demo.dart
View file @
32bbbc64
...
...
@@ -31,7 +31,7 @@ class _DataTableDemoState extends State<DataTableDemo> {
int
_sortColumnIndex
;
bool
_sortAscending
=
true
;
final
List
<
Desert
>
_deserts
=
[
final
List
<
Desert
>
_deserts
=
<
Desert
>
[
new
Desert
(
'Frozen yogurt'
,
159
,
6.0
,
24
,
4.0
,
87
,
14
,
1
),
new
Desert
(
'Ice cream sandwich'
,
237
,
9.0
,
37
,
4.3
,
129
,
8
,
1
),
new
Desert
(
'Eclair'
,
262
,
16.0
,
24
,
6.0
,
337
,
6
,
7
),
...
...
examples/material_gallery/lib/demo/fitness_demo.dart
View file @
32bbbc64
...
...
@@ -380,7 +380,7 @@ class _JumpingJackSide extends Node {
void
animateJumping
()
{
actions
.
stopAll
();
actions
.
run
(
new
ActionSequence
([
actions
.
run
(
new
ActionSequence
(
<
Action
>
[
_createPoseAction
(
null
,
0
,
0.5
),
new
ActionCallFunction
(
_animateJumpingLoop
)
]));
...
...
examples/material_gallery/lib/demo/weather_demo.dart
View file @
32bbbc64
...
...
@@ -386,7 +386,7 @@ class Sun extends Node {
if
(
active
)
{
for
(
Ray
ray
in
_rays
)
{
actions
.
run
(
new
ActionSequence
([
actions
.
run
(
new
ActionSequence
(
<
Action
>
[
new
ActionDelay
(
1.5
),
new
ActionTween
(
(
double
a
)
=>
ray
.
opacity
=
a
,
...
...
@@ -427,7 +427,7 @@ class Ray extends Sprite {
double
scaleTime
=
randomSignedDouble
()
*
2.0
+
4.0
;
actions
.
run
(
new
ActionRepeatForever
(
new
ActionSequence
([
new
ActionSequence
(
<
Action
>
[
new
ActionTween
((
double
a
)
=>
scaleX
=
a
,
scaleX
,
scaleX
*
0.5
,
scaleTime
),
new
ActionTween
((
double
a
)
=>
scaleX
=
a
,
scaleX
*
0.5
,
scaleX
,
scaleTime
)
])
...
...
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