squareBox method

SizedBox squareBox([
  1. Widget? child
])

Creates a fixed sqaure size box.

Sets width and height parameters equal to given size

Implementation

SizedBox squareBox([Widget? child]) =>
    SizedBox(height: toDouble(), width: this as double?, child: child);