h property

Widget get h

Converts this number into a vertical SizedBox.

Example:

16.h; // Equivalent to SizedBox(height: 16.0)

Implementation

Widget get h => SizedBox(height: toDouble());