PaddingWrapper.all constructor

PaddingWrapper.all({
  1. double padding = 16.0,
  2. required Widget child,
})

Implementation

factory PaddingWrapper.all({
  double padding = 16.0,
  required Widget child,
}) {
  return PaddingWrapper(
    left: padding,
    right: padding,
    top: padding,
    bottom: padding,
    defaultPadding: padding,
    child: child,
  );
}