AdaptiveLayout constructor
AdaptiveLayout({
- Key? key,
- Widget? smallLayout,
- Widget? mediumLayout,
- Widget? largeLayout,
- FormFactor? forcedFormFactor,
A StatelessWidget whose build method will return the widget that corresponds to the current screen width.
Implementation
AdaptiveLayout({
Key? key,
this.smallLayout,
this.mediumLayout,
this.largeLayout,
this.forcedFormFactor,
}) : assert(!(smallLayout == null &&
mediumLayout == null &&
largeLayout == null)),
super(key: key);