computeMinIntrinsicWidth method

  1. @override
double computeMinIntrinsicWidth(
  1. double height
)
override

Dimension

Implementation

@override
double computeMinIntrinsicWidth(double height) {
  List<Rect> childrenLocations = _layoutChildren(double.infinity, height);
  double width = 0;
  for (int i = 0; i < childrenLocations.length; i++) {
    width = max(width, childrenLocations.elementAt(i).right);
  }

  return width;
}