SizedBox.shrink constructor

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

Implementation

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