ResponsivePadding constructor

const ResponsivePadding({
  1. Key? key,
  2. required Widget child,
  3. EdgeInsets? mobilePadding,
  4. EdgeInsets? tabletPadding,
  5. EdgeInsets? desktopPadding,
  6. EdgeInsets? widescreenPadding,
})

Custom per-breakpoint padding.

Implementation

const ResponsivePadding({
  super.key,
  required this.child,
  this.mobilePadding,
  this.tabletPadding,
  this.desktopPadding,
  this.widescreenPadding,
}) : _useAdaptive = false;