SizedBox.shrink constructor Null safety
Creates a box that will become as small as its parent allows.
Implementation
const SizedBox.shrink({ Key? key, Widget? child })
: width = 0.0,
height = 0.0,
super(key: key, child: child);
Creates a box that will become as small as its parent allows.
const SizedBox.shrink({ Key? key, Widget? child })
: width = 0.0,
height = 0.0,
super(key: key, child: child);