sizedSquare method

Widget sizedSquare(
  1. double size
)

Wraps this widget in a square SizedBox with both width and height set to size.

Implementation

Widget sizedSquare(double size) {
  return SizedBox(width: size, height: size, child: this);
}