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