SizedBox.shrink constructor

const SizedBox.shrink({
  1. Key? key,
  2. Widget? child,
})

Creates a zero-sized box.

Implementation

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