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

Unified Diff: sky/sdk/example/fitness/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/fitness/lib/main.dart
diff --git a/sky/sdk/example/fitness/lib/main.dart b/sky/sdk/example/fitness/lib/main.dart
index 6d447a831e4a8599e832fd43f7d43f8ab0e5e770..5368c91db64b23016bed147d383ededd7f75ddd4 100644
--- a/sky/sdk/example/fitness/lib/main.dart
+++ b/sky/sdk/example/fitness/lib/main.dart
@@ -16,7 +16,9 @@ import 'fitness_types.dart';
class FitnessApp extends App {
NavigationState _navigationState;
- FitnessApp() {
+ FitnessApp();
abarth-chromium 2015/07/10 23:26:00 You can remove this function given that it has now
+
+ void initState() {
_navigationState = new NavigationState([
new Route(
name: '/',
@@ -27,6 +29,7 @@ class FitnessApp extends App {
builder: (navigator, route) => new SettingsFragment(navigator, backupSetting, settingsUpdater)
),
]);
+ super.initState();
}
void onBack() {

Powered by Google App Engine
This is Rietveld 408576698