modifyMinSizesToIncludeFirstHeader static method
List<double>
modifyMinSizesToIncludeFirstHeader(
- List<
double> minSizes, - List<
PreferredSizeWidget> headers
Implementation
@visibleForTesting
static List<double> modifyMinSizesToIncludeFirstHeader(
List<double> minSizes,
List<PreferredSizeWidget> headers,
) {
return [
minSizes[0] + headers[0].preferredSize.height,
...minSizes.sublist(1),
];
}