MultiSplitViewController constructor
MultiSplitViewController({
- List<
Area> ? areas, - 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();
}
}