computeMinIntrinsicHeight method

  1. @override
double computeMinIntrinsicHeight(
  1. double width
)
override

AT NO WIDTH -- a Column measuring its own width asks each child's height at double.infinity -- the text is its whole length on one line, as a Text's is: held to an infinite width, the share of the indent (0 * infinity) and the room it leaves came to NaN, which the painter refuses. The product site's 1280 page threw on its first frame.

Implementation

@override
double computeMinIntrinsicHeight(double width) =>
    _sizeFor(width.isFinite ? BoxConstraints.tightFor(width: width) : const BoxConstraints()).height;