px property

EdgeInsets get px

Horizontal padding EdgeInsets.

Example:

8.px; // EdgeInsets.symmetric(horizontal: 8)

Implementation

EdgeInsets get px => EdgeInsets.symmetric(horizontal: toDouble());