Vertical method

DeclarativeEdgeInsets Vertical([
  1. double? padding
])

Adds padding to the vertical sides of the child.

If padding is not provided, it defaults to the value of the side with the largest padding. If all sides are 0, it defaults to defaultPadding.

Implementation

// ignore: non_ant_identifier_names
DeclarativeEdgeInsets Vertical([double? padding]) => copyWith(
      top: padding ?? _findMax(),
      bottom: padding ?? _findMax(),
    );