Commit 36beda0c authored by Adam Barth's avatar Adam Barth

Merge pull request #778 from abarth/parent_data_fixes

Parent data fixes
parents 83ba4263 2f3baf14
......@@ -7,6 +7,14 @@ import 'object.dart';
class MultiChildLayoutParentData extends ContainerBoxParentDataMixin<RenderBox> {
Object id;
void merge(MultiChildLayoutParentData other) {
if (other.id != null)
id = other.id;
super.merge(other);
}
String toString() => '${super.toString()}; id=$id';
}
abstract class MultiChildLayoutDelegate {
......
......@@ -192,7 +192,7 @@ class StackParentData extends ContainerBoxParentDataMixin<RenderBox> {
/// children in the stack.
bool get isPositioned => top != null || right != null || bottom != null || left != null || width != null || height != null;
String toString() => '${super.toString()}; top=$top; right=$right; bottom=$bottom, left=$left';
String toString() => '${super.toString()}; top=$top; right=$right; bottom=$bottom; left=$left; width=$width; height=$height';
}
abstract class RenderStackBase extends RenderBox
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment