AdaptiveLayout constructor
const
AdaptiveLayout({})
Creates an AdaptiveLayout widget.
Implementation
const AdaptiveLayout({
super.key,
this.phone,
this.tablet,
this.desktop,
this.foldable,
this.child,
}) : assert(
phone != null ||
tablet != null ||
desktop != null ||
foldable != null ||
child != null,
'At least one widget must be provided',
);