sizedBox method

SizedBox sizedBox({
  1. Key? key,
  2. double? width,
  3. double? height,
})

Wraps a widget in SizedBox.

Implementation

SizedBox sizedBox({Key? key, double? width, double? height}) {
  return SizedBox(key: key, width: width, height: height, child: this);
}