ResponsiveVisibility.smallOnly constructor
const
ResponsiveVisibility.smallOnly({})
Shows the child only on small screens (xs, sm).
Implementation
const ResponsiveVisibility.smallOnly({
super.key,
required this.child,
this.replacement,
this.maintainState = false,
}) : visibleWhen = null,
visibleOn = const [ScreenSize.xs, ScreenSize.sm],
hiddenOn = null;