px static method

EdgeInsets px(
  1. double h
)

Creates horizontal padding.

h: The horizontal padding value. Returns an EdgeInsets object with left and right padding.

Implementation

static EdgeInsets px(double h) => _pad(h: h);