maxIntrinsicWidth method
Override to change the maximum width that this box could be without failing to correctly paint its contents within itself, without clipping.
See also:
- RenderBox.computeMinIntrinsicWidth, which has usage examples.
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;
}