| OLD | NEW |
| 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 '../fn2.dart'; | 5 import '../fn2.dart'; |
| 6 import '../layout2.dart'; | |
| 7 import '../theme/typography.dart' as typography; | 6 import '../theme/typography.dart' as typography; |
| 8 import 'dart:sky' as sky; | 7 import 'dart:sky' as sky; |
| 9 | 8 |
| 10 // RenderNode | 9 // RenderNode |
| 11 class RenderScaffold extends RenderDecoratedBox { | 10 class RenderScaffold extends RenderDecoratedBox { |
| 12 | 11 |
| 13 RenderScaffold({ | 12 RenderScaffold({ |
| 14 BoxDecoration decoration, | 13 BoxDecoration decoration, |
| 15 RenderBox toolbar, | 14 RenderBox toolbar, |
| 16 RenderBox body, | 15 RenderBox body, |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 void syncRenderNode(UINode old) { | 213 void syncRenderNode(UINode old) { |
| 215 super.syncRenderNode(old); | 214 super.syncRenderNode(old); |
| 216 syncChild(toolbar, old is Scaffold ? old.toolbar : null, #toolbar); | 215 syncChild(toolbar, old is Scaffold ? old.toolbar : null, #toolbar); |
| 217 syncChild(body, old is Scaffold ? old.body : null, #body); | 216 syncChild(body, old is Scaffold ? old.body : null, #body); |
| 218 syncChild(statusbar, old is Scaffold ? old.statusbar : null, #statusbar); | 217 syncChild(statusbar, old is Scaffold ? old.statusbar : null, #statusbar); |
| 219 syncChild(drawer, old is Scaffold ? old.drawer : null, #drawer); | 218 syncChild(drawer, old is Scaffold ? old.drawer : null, #drawer); |
| 220 syncChild(floatingActionButton, old is Scaffold ? old.floatingActionButton :
null, #floatingActionButton); | 219 syncChild(floatingActionButton, old is Scaffold ? old.floatingActionButton :
null, #floatingActionButton); |
| 221 } | 220 } |
| 222 | 221 |
| 223 } | 222 } |
| OLD | NEW |