getPaddingByWidth method

EdgeInsetsGeometry getPaddingByWidth(
  1. double width
)

Returns the dynamic padding sizes for the width percentage provided.

Implementation

EdgeInsetsGeometry getPaddingByWidth(
  double width,
) =>
    EdgeInsets.fromLTRB(
      getHeight(width),
      getHeight(width),
      getHeight(width),
      getHeight(width),
    );