responsivePadding static method
EdgeInsets
responsivePadding(
- BuildContext context, {
- double left = 0,
- double top = 0,
- double right = 0,
- double bottom = 0,
Implementation
static EdgeInsets responsivePadding(
BuildContext context, {
double left = 0,
double top = 0,
double right = 0,
double bottom = 0,
}) {
return EdgeInsets.only(
left: responsiveWidth(context, left),
top: responsiveHeight(context, top),
right: responsiveWidth(context, right),
bottom: responsiveHeight(context, bottom),
);
}