heightBox property

Widget heightBox

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

Implementation

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