maxIntrinsicWidth method

double maxIntrinsicWidth(
  1. double height
)

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

See also:

Implementation

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