sqBox method

SizedBox sqBox(
  1. double size
)

Creates a square SizedBox with the current widget as its child.

size sets both the height and width of the SizedBox.

Returns a square SizedBox widget with the current widget as its child.

Implementation

SizedBox sqBox(double size) => sizedBox(h: size, w: size);