ResponsiveVisibility.largeOnly constructor

const ResponsiveVisibility.largeOnly({
  1. Key? key,
  2. required Widget child,
  3. Widget? replacement,
  4. bool maintainState = false,
})

Shows the child only on large screens (lg, xl).

Implementation

const ResponsiveVisibility.largeOnly({
  super.key,
  required this.child,
  this.replacement,
  this.maintainState = false,
}) : visibleWhen = null,
     visibleOn = const [ScreenSize.lg, ScreenSize.xl],
     hiddenOn = null;