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

Unified Diff: sky/sdk/example/stocks/lib/main.dart

Issue 1233703003: add initState, rename animated_container (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: remove print statement 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 side-by-side diff with in-line comments
Download patch
Index: sky/sdk/example/stocks/lib/main.dart
diff --git a/sky/sdk/example/stocks/lib/main.dart b/sky/sdk/example/stocks/lib/main.dart
index 8552b2fd73598b73486989739b6a4d582b3b2bb2..cecbb5b1a459c8920ba1b9592b2a00d8ed33b381 100644
--- a/sky/sdk/example/stocks/lib/main.dart
+++ b/sky/sdk/example/stocks/lib/main.dart
@@ -19,7 +19,9 @@ import 'stock_types.dart';
class StocksApp extends App {
NavigationState _navigationState;
- StocksApp() {
+ StocksApp();
abarth-chromium 2015/07/10 23:26:00 ditto
+
+ void initState() {
_navigationState = new NavigationState([
new Route(
name: '/',
@@ -30,6 +32,7 @@ class StocksApp extends App {
builder: (navigator, route) => new StockSettings(navigator, optimismSetting, backupSetting, settingsUpdater)
),
]);
+ super.initState();
}
void onBack() {

Powered by Google App Engine
This is Rietveld 408576698