responsivePadding static method

EdgeInsets responsivePadding(
  1. BuildContext context, {
  2. EdgeInsets? mobile,
  3. EdgeInsets? tablet,
  4. EdgeInsets? desktop,
})

Implementation

static EdgeInsets responsivePadding(
  BuildContext context, {
  EdgeInsets? mobile,
  EdgeInsets? tablet,
  EdgeInsets? desktop,
}) {
  return responsiveValue(
    context,
    mobile: mobile ?? const EdgeInsets.all(16.0),
    tablet: tablet ?? const EdgeInsets.all(24.0),
    desktop: desktop ?? const EdgeInsets.all(32.0),
  );
}