PaddingWrapper.horizontal constructor
Factory constructor for horizontal padding only.
Implementation
factory PaddingWrapper.horizontal({
required Widget child,
double horizontal = 16.0,
}) {
return PaddingWrapper(
padding: EdgeInsets.symmetric(horizontal: horizontal),
child: child,
);
}