MultiSplitViewController constructor

MultiSplitViewController({
  1. List<Area>? areas,
  2. AreaDataModifier? areaDataModifier,
})

Creates an MultiSplitViewController.

Changes the flex to 1 if the total flex of the areas is 0.

Implementation

MultiSplitViewController(
    {List<Area>? areas, AreaDataModifier? areaDataModifier})
    : _areaDataModifier = areaDataModifier {
  if (areas != null) {
    _areas = List.from(areas);
    _updateAreas();
  }
}