SizedBox constructor

const SizedBox({
  1. double? width,
  2. double? height,
  3. Widget? child,
  4. Key? key,
})

Implementation

const SizedBox({this.width, this.height, this.child, super.key})
  : assert(width == null || width >= 0),
    assert(height == null || height >= 0);