maxIntrinsicHeight method

double maxIntrinsicHeight(
  1. double width
)

Override to change the maximum height that this box could be without failing to correctly paint its contents within itself, without clipping.

See also:

Implementation

double maxIntrinsicHeight(double width) {
  assert(() {
    if (!RenderObject.debugCheckingIntrinsics) {
      throw FlutterError(
          'Something tried to get the maximum intrinsic height of the boxy delegate $this.\n'
          'You must override maxIntrinsicHeight to use the intrinsic width.');
    }
    return true;
  }());
  return 0.0;
}