assert(verticalDirection!=null,'Horizontal $runtimeType with runAlignment $runAlignment has a null verticalDirection, so the alignment cannot be resolved.');
break;
caseAxis.vertical:
assert(textDirection!=null,'Vertical $runtimeType with runAlignment $runAlignment has a null textDirection, so the alignment cannot be resolved.');
assert(verticalDirection!=null,'Horizontal $runtimeType with crossAxisAlignment $crossAxisAlignment has a null verticalDirection, so the alignment cannot be resolved.');
break;
caseAxis.vertical:
assert(textDirection!=null,'Vertical $runtimeType with crossAxisAlignment $crossAxisAlignment has a null textDirection, so the alignment cannot be resolved.');
break;
}
}
returntrue;
}
@override
@override
voidsetupParentData(RenderBoxchild){
voidsetupParentData(RenderBoxchild){
if(child.parentDatais!WrapParentData)
if(child.parentDatais!WrapParentData)
...
@@ -408,14 +548,15 @@ class RenderWrap extends RenderBox with ContainerRenderObjectMixin<RenderBox, Wr
...
@@ -408,14 +548,15 @@ class RenderWrap extends RenderBox with ContainerRenderObjectMixin<RenderBox, Wr