responsiveMargin static method

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

Implementation

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