PaddingWrapper.only constructor
PaddingWrapper.only({})
Factory constructor for specific padding on each side.
Implementation
factory PaddingWrapper.only({
required Widget child,
double left = 16.0,
double right = 16.0,
double top = 0.0,
double bottom = 0.0,
}) {
return PaddingWrapper(
padding:
EdgeInsets.only(left: left, right: right, top: top, bottom: bottom),
child: child,
);
}