PaddingWrapper.symmetric constructor

PaddingWrapper.symmetric({
  1. double? vertical,
  2. double? horizontal,
  3. double defaultPadding = 16.0,
  4. required Widget child,
})

Implementation

factory PaddingWrapper.symmetric({
  double? vertical,
  double? horizontal,
  double defaultPadding = 16.0,
  required Widget child,
}) {
  return PaddingWrapper(
    left: horizontal,
    right: horizontal,
    top: vertical,
    bottom: vertical,
    defaultPadding: defaultPadding,
    child: child,
  );
}