squareBox property

Widget squareBox

Converts the number into a SizedBox with the width & height as that number.

Implementation

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