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

Side by Side Diff: sky/sdk/lib/framework/rendering/render_flex.dart

Issue 1154013006: Fix Dart analyzer warnings in scaffold.dart (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 | « sky/sdk/lib/framework/components2/scaffold.dart ('k') | no next file » | 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:sky' as sky; 5 import 'dart:sky' as sky;
6 import 'render_node.dart';
7 import 'render_box.dart'; 6 import 'render_box.dart';
8 import 'render_node.dart'; 7 import 'render_node.dart';
9 8
10 class FlexBoxParentData extends BoxParentData with ContainerParentDataMixin<Rend erBox> { 9 class FlexBoxParentData extends BoxParentData with ContainerParentDataMixin<Rend erBox> {
11 int flex; 10 int flex;
12 void merge(FlexBoxParentData other) { 11 void merge(FlexBoxParentData other) {
13 if (other.flex != null) 12 if (other.flex != null)
14 flex = other.flex; 13 flex = other.flex;
15 super.merge(other); 14 super.merge(other);
16 } 15 }
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 } 111 }
113 112
114 void hitTestChildren(HitTestResult result, { sky.Point position }) { 113 void hitTestChildren(HitTestResult result, { sky.Point position }) {
115 defaultHitTestChildren(result, position: position); 114 defaultHitTestChildren(result, position: position);
116 } 115 }
117 116
118 void paint(RenderNodeDisplayList canvas) { 117 void paint(RenderNodeDisplayList canvas) {
119 defaultPaint(canvas); 118 defaultPaint(canvas);
120 } 119 }
121 } 120 }
OLDNEW
« no previous file with comments | « sky/sdk/lib/framework/components2/scaffold.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698