ResponsivePadding constructor
const
ResponsivePadding({
- Key? key,
- required Widget child,
- EdgeInsets? mobilePadding,
- EdgeInsets? tabletPadding,
- EdgeInsets? desktopPadding,
- EdgeInsets? widescreenPadding,
Custom per-breakpoint padding.
Implementation
const ResponsivePadding({
super.key,
required this.child,
this.mobilePadding,
this.tabletPadding,
this.desktopPadding,
this.widescreenPadding,
}) : _useAdaptive = false;