widthBox property

Widget widthBox

Widgets

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

Implementation

///
///Converts the number into a [SizedBox] with the width as that number.
///
Widget get widthBox => SizedBox(
      width: toDouble(),
    );