ResponsivePadding constructor

const ResponsivePadding({
  1. Key? key,
  2. required Widget child,
  3. EdgeInsets mobile = const EdgeInsets.all(12),
  4. EdgeInsets tablet = const EdgeInsets.all(24),
  5. EdgeInsets desktop = const EdgeInsets.all(32),
})

Implementation

const ResponsivePadding({
  super.key,
  required this.child,
  this.mobile = const EdgeInsets.all(12),
  this.tablet = const EdgeInsets.all(24),
  this.desktop = const EdgeInsets.all(32),
});