doLayout method
Implementation
@override
void doLayout(Context context, TreeLayoutNode root, num width, num height) {
bool v = direction == Direction2.ttb || direction == Direction2.btt || direction == Direction2.v;
num w = v ? width : height;
num h = v ? height : width;
_innerLayout(root, diff, w, h);
onLayoutEnd();
}