px method

Niku px(
  1. double padding
)

Apply padding to x axis

Equivalent to:

Padding(
  padding: EdgeInsets.symmetric(horizontal: input)
)

Implementation

Niku px(double padding) => Niku(Padding(
      padding: EdgeInsets.symmetric(horizontal: padding),
      child: this._widget,
    ));