getDensityPadding function
Implementation
double getDensityPadding(PumaDensity density) {
double _padding = 8.0;
switch (density) {
case PumaDensity.sm:
_padding = 4.0;
break;
case PumaDensity.lg:
_padding = 16.0;
break;
default:
_padding = 8.0;
}
return _padding;
}