layoutSwitchWidget method
Selects the specified Widget based on the size of the parent widget. It updates automatically as dimensions change.
Same as using LayoutSwitchWidget directly.
Implementation
Widget layoutSwitchWidget({
FluidoBreakpoints? breakpoints,
required Widget sm,
Widget? md,
Widget? lg,
Widget? xl,
Widget? xl2,
}) {
return LayoutSwitchWidget(
this,
breakpoints: breakpoints,
sm: sm,
md: md,
lg: lg,
xl: xl,
xl2: xl2,
).widget;
}