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

Side by Side Diff: sky/sdk/example/demo_launcher/lib/main.dart

Issue 1226113007: Add @override annotation to known overriden methods (Closed) Base URL: https://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/example/fitness/lib/home.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:sky'; 5 import 'dart:sky';
6 6
7 import 'package:sky/mojo/activity.dart' as activity; 7 import 'package:sky/mojo/activity.dart' as activity;
8 import 'package:sky/mojo/asset_bundle.dart'; 8 import 'package:sky/mojo/asset_bundle.dart';
9 import 'package:sky/mojo/shell.dart' as shell; 9 import 'package:sky/mojo/shell.dart' as shell;
10 import 'package:sky/painting/box_painter.dart'; 10 import 'package:sky/painting/box_painter.dart';
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 ]) 156 ])
157 ) 157 )
158 ]) 158 ])
159 ), 159 ),
160 ], direction: FlexDirection.vertical) 160 ], direction: FlexDirection.vertical)
161 ) 161 )
162 ) 162 )
163 ); 163 );
164 } 164 }
165 165
166 @override
166 Widget build() { 167 Widget build() {
167 return new ScrollableList<SkyDemo>( 168 return new ScrollableList<SkyDemo>(
168 items: demos, 169 items: demos,
169 itemHeight: kCardHeight, 170 itemHeight: kCardHeight,
170 itemBuilder: buildDemo, 171 itemBuilder: buildDemo,
171 padding: kListPadding 172 padding: kListPadding
172 ); 173 );
173 } 174 }
174 } 175 }
175 176
(...skipping 14 matching lines...) Expand all
190 ) 191 )
191 ) 192 )
192 ) 193 )
193 ); 194 );
194 } 195 }
195 } 196 }
196 197
197 void main() { 198 void main() {
198 runApp(new SkyHome()); 199 runApp(new SkyHome());
199 } 200 }
OLDNEW
« no previous file with comments | « no previous file | sky/sdk/example/fitness/lib/home.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698