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