responsiveMargin property

EdgeInsets get responsiveMargin

Quick responsive margin based on breakpoint

Implementation

EdgeInsets get responsiveMargin {
  return responsive.value<EdgeInsets>(
    xs: const EdgeInsets.all(8.0),
    sm: const EdgeInsets.all(12.0),
    md: const EdgeInsets.all(16.0),
    lg: const EdgeInsets.all(20.0),
    xl: const EdgeInsets.all(24.0),
    xxl: const EdgeInsets.all(28.0),
    fallback: const EdgeInsets.all(16.0),
  );
}