FlutstrapVisibility.hideOnDesktop constructor
Hides the child on desktop screens (lg, xl, and xxl breakpoints) Shows on mobile and tablet screens
Implementation
factory FlutstrapVisibility.hideOnDesktop({
required Widget child,
Widget? fallback,
}) {
return FlutstrapVisibility(
child: child,
showOnXs: true,
showOnSm: true,
showOnMd: true,
showOnLg: false,
showOnXl: false,
showOnXxl: false,
fallback: fallback,
);
}