getPadding method

EdgeInsetsGeometry getPadding(
  1. double height,
  2. double width
)

Returns the dynamic padding sizes for the height and width percentages provided.

Implementation

EdgeInsetsGeometry getPadding(
  double height,
  double width,
) =>
    EdgeInsets.fromLTRB(
      getWidth(width),
      getHeight(height),
      getWidth(width),
      getHeight(height),
    );