SizedBox.shrink constructor

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

Creates a sized box with 0 width and height.

Implementation

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