px method

Widget px(
  1. double v
)

Wraps the widget in a Padding with the specified horizontal v padding.

Implementation

Widget px(double v) => Padding(padding: v.px, child: this);