All method

DeclarativeEdgeInsets All([
  1. double? padding
])

Adds padding to all 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 All([double? padding]) => copyWith(
      left: padding ?? _findMax(),
      top: padding ?? _findMax(),
      right: padding ?? _findMax(),
      bottom: padding ?? _findMax(),
    );