square property

SizedBox get square

Creates a square SizedBox

Example:

16.square // SizedBox(width: 16, height: 16)

Implementation

SizedBox get square => SizedBox(width: toDouble(), height: toDouble());