getSquareBox static method

SizedBox getSquareBox(
  1. double size, {
  2. Key? key,
  3. Widget? child,
})

Implementation

static SizedBox getSquareBox(double size, {Key? key, Widget? child}) {
  return SizedBox.fromSize(key: key, size: Size(size, size));
}