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