CompactLayout constructor

CompactLayout({
  1. Align2 levelAlign = Align2.start,
  2. Direction2 direction = Direction2.ttb,
  3. Fun2<TreeLayoutNode, TreeLayoutNode, Offset>? gapFun,
  4. Fun2<int, int, num>? levelGapFun,
  5. Fun1<TreeLayoutNode, Size>? sizeFun,
})

Implementation

CompactLayout({
  this.levelAlign = Align2.start,
  this.direction = Direction2.ttb,
  super.gapFun,
  super.levelGapFun,
  super.sizeFun,
});