sqBox method

SizedBox sqBox([
  1. Widget? child
])

Creates a fixed square sized SizedBox with the specified height and width equal to this num.

child is an optional child widget to be placed inside the SizedBox.

Implementation

SizedBox sqBox([Widget? child]) =>
    SizedBox(height: toDouble(), width: toDouble(), child: child);