getMarginByHeight method

EdgeInsetsGeometry getMarginByHeight(
  1. double height
)

Returns the dynamic margin size for the height percentage provided.

Implementation

EdgeInsetsGeometry getMarginByHeight(
  double height,
) =>
    EdgeInsets.fromLTRB(
      getHeight(height),
      getHeight(height),
      getHeight(height),
      getHeight(height),
    );