w property

Widget get w

Converts this number into a horizontal SizedBox.

Example:

16.w; // Equivalent to SizedBox(width: 16.0)

Implementation

Widget get w => SizedBox(width: toDouble());