Top method

DeclarativeEdgeInsets Top([
  1. double? padding
])

Adds padding to the top 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 Top([double? padding]) => copyWith(top: padding ?? _findMax());