OLD | NEW |
1 | 1 |
2 import 'package:vector_math/vector_math.dart'; | 2 import 'package:vector_math/vector_math.dart'; |
3 | 3 |
4 import '../rendering/block.dart'; | 4 import '../rendering/block.dart'; |
5 import '../rendering/box.dart'; | 5 import '../rendering/box.dart'; |
6 import '../rendering/flex.dart'; | 6 import '../rendering/flex.dart'; |
7 import '../rendering/object.dart'; | 7 import '../rendering/object.dart'; |
8 import '../rendering/paragraph.dart'; | 8 import '../rendering/paragraph.dart'; |
9 import '../rendering/stack.dart'; | 9 import '../rendering/stack.dart'; |
10 import 'ui_node.dart'; | 10 import 'ui_node.dart'; |
11 | 11 |
12 export '../rendering/box.dart' show BoxConstraints, BoxDecoration, Border, Borde
rSide, EdgeDims; | 12 export '../rendering/box.dart' show BoxConstraints, BoxDecoration, Border, Borde
rSide, EdgeDims; |
13 export '../rendering/flex.dart' show FlexDirection; | 13 export '../rendering/flex.dart' show FlexDirection, FlexJustifyContent, FlexAlig
nItems; |
14 export '../rendering/object.dart' show Point, Size, Rect, Color, Paint, Path; | 14 export '../rendering/object.dart' show Point, Size, Rect, Color, Paint, Path; |
15 export 'ui_node.dart' show UINode, Component, App, EventListenerNode, ParentData
Node; | 15 export 'ui_node.dart' show UINode, Component, App, EventListenerNode, ParentData
Node; |
16 | 16 |
17 | 17 |
18 // PAINTING NODES | 18 // PAINTING NODES |
19 | 19 |
20 class Opacity extends OneChildRenderObjectWrapper { | 20 class Opacity extends OneChildRenderObjectWrapper { |
21 Opacity({ this.opacity, UINode child, Object key }) | 21 Opacity({ this.opacity, UINode child, Object key }) |
22 : super(child: child, key: key); | 22 : super(child: child, key: key); |
23 | 23 |
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 root.src = src; | 381 root.src = src; |
382 root.requestedSize = size; | 382 root.requestedSize = size; |
383 } | 383 } |
384 | 384 |
385 void insert(RenderObjectWrapper child, dynamic slot) { | 385 void insert(RenderObjectWrapper child, dynamic slot) { |
386 assert(false); | 386 assert(false); |
387 // Image does not support having children currently | 387 // Image does not support having children currently |
388 } | 388 } |
389 | 389 |
390 } | 390 } |
OLD | NEW |