width property

SizedBox get width

Creates a SizedBox with width

Example:

16.width // SizedBox(width: 16)
AppSizes.md.width // SizedBox(width: 16)

Implementation

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