PaddingHorizontal constructor

PaddingHorizontal([
  1. double? padding
])

Adds padding to the horizontal sides of the child.

If padding is not provided, it defaults to DeclarativeEdgeInsets.defaultPadding.

Implementation

PaddingHorizontal([double? padding]) : super(left: padding, right: padding, top: 0, bottom: 0);