getResponsivePadding static method
Implementation
static EdgeInsets getResponsivePadding(BuildContext context) {
final width = MediaQuery.of(context).size.width;
if (width < 600) {
return _mobilePadding;
} else if (width < 1024) {
return _tabletPadding;
}
return _desktopPadding;
}