PaddingTop constructor

PaddingTop([
  1. double? padding
])

Adds padding to the top of the child.

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

Implementation

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