SizedBox constructor

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

Creates a SizedBox with the given width and height.

Implementation

const SizedBox({super.key, this.width = 0, this.height = 0, super.child});