getMarginByWidth method
Returns the dynamic margin size for the width
percentage provided.
Implementation
EdgeInsetsGeometry getMarginByWidth(
double width,
) =>
EdgeInsets.fromLTRB(
getHeight(width),
getHeight(width),
getHeight(width),
getHeight(width),
);