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