IntrinsicSizeOverflowBox constructor

const IntrinsicSizeOverflowBox({
  1. Key? key,
  2. double? minWidth,
  3. double? maxWidth,
  4. double? minHeight,
  5. double? maxHeight,
  6. required Widget child,
})

Creates a new IntrinsicSizeOverflowBox, a widget that imposes different constraints on its child than it gets from its parent, possibly allowing the child to overflow the parent.

Similar to OverflowBox except that the unconstrained width or height is sized to the intrinsic size of the child, instead of being assumed to be infinite, which allows IntrinsicSizeOverflowBox to be used in a Scrollable widget.

Implementation

const IntrinsicSizeOverflowBox({
  Key? key,
  this.minWidth,
  this.maxWidth,
  this.minHeight,
  this.maxHeight,
  required Widget child,
}) : super(key: key, child: child);