doLayout method

  1. @override
void doLayout(
  1. Context context,
  2. TreeLayoutNode root,
  3. num width,
  4. num height,
)
override

Implementation

@override
void doLayout(Context context, TreeLayoutNode root, num width, num height) {
  _InnerLayout(
    root,
    direction: direction,
    levelGapFun: levelGapFun,
    gapFun: gapFun,
    levelAlign: levelAlign,
    sizeFun: sizeFun,
  ).layout(width, height);
  onLayoutEnd();
}