sizedBox method

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

Implementation

SizedBox sizedBox({double? width, double? height, double? all}) {
  if (all != null && all > 0) {
    return SizedBox(width: all, height: all, child: this);
  }
  return SizedBox(width: width, height: height, child: this);
}