Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(375)

Side by Side Diff: sky/sdk/lib/widgets/drawer.dart

Issue 1212013004: Fix some dart analyzer warnings. (Closed) Base URL: git@github.com:/domokit/mojo.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | sky/sdk/lib/widgets/material.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 import 'dart:math' as math;
6 import 'dart:sky' as sky; 5 import 'dart:sky' as sky;
7 6
8 import 'package:vector_math/vector_math.dart';
9
10 import '../animation/animated_value.dart';
11 import '../animation/animation_performance.dart'; 7 import '../animation/animation_performance.dart';
12 import '../animation/curves.dart'; 8 import '../animation/curves.dart';
13 import '../theme/colors.dart'; 9 import '../theme/colors.dart';
14 import '../theme/shadows.dart'; 10 import '../theme/shadows.dart';
15 import 'animated_component.dart'; 11 import 'animated_component.dart';
16 import 'basic.dart'; 12 import 'basic.dart';
17 13
18 // TODO(eseidel): Draw width should vary based on device size: 14 // TODO(eseidel): Draw width should vary based on device size:
19 // http://www.google.com/design/spec/layout/structure.html#structure-side-nav 15 // http://www.google.com/design/spec/layout/structure.html#structure-side-nav
20 16
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 child: new Stack([ mask, content ]), 138 child: new Stack([ mask, content ]),
143 onPointerDown: controller.handlePointerDown, 139 onPointerDown: controller.handlePointerDown,
144 onPointerMove: controller.handlePointerMove, 140 onPointerMove: controller.handlePointerMove,
145 onPointerUp: controller.handlePointerUp, 141 onPointerUp: controller.handlePointerUp,
146 onPointerCancel: controller.handlePointerCancel, 142 onPointerCancel: controller.handlePointerCancel,
147 onGestureFlingStart: controller.handleFlingStart 143 onGestureFlingStart: controller.handleFlingStart
148 ); 144 );
149 } 145 }
150 146
151 } 147 }
OLDNEW
« no previous file with comments | « no previous file | sky/sdk/lib/widgets/material.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698