FlutstrapVisibility.hideOnSm constructor

FlutstrapVisibility.hideOnSm({
  1. required Widget child,
  2. Widget? fallback,
})

Hides the child on small screens (sm breakpoint) Shows on all other screen sizes

Implementation

factory FlutstrapVisibility.hideOnSm({
  required Widget child,
  Widget? fallback,
}) {
  return FlutstrapVisibility(
    child: child,
    showOnXs: true,
    showOnSm: false,
    showOnMd: true,
    showOnLg: true,
    showOnXl: true,
    showOnXxl: true,
    fallback: fallback,
  );
}