FlexSplitColumn constructor
FlexSplitColumn({})
Implementation
FlexSplitColumn({
super.key,
required this.totalHeight,
required this.headers,
required List<Widget> children,
required List<double> initialFractions,
required List<double> minSizes,
}) : assert(children.length >= 2),
assert(initialFractions.length >= 2),
assert(children.length == initialFractions.length),
assert(minSizes.length == children.length),
_children = buildChildrenWithFirstHeader(children, headers),
_initialFractions = modifyInitialFractionsToIncludeFirstHeader(
initialFractions,
headers,
totalHeight,
),
_minSizes = modifyMinSizesToIncludeFirstHeader(minSizes, headers);