ResponsiveVisibility.screen constructor

const ResponsiveVisibility.screen({
  1. Key? key,
  2. required Widget child,
  3. bool? visibilityIfNotMatch = false,
  4. ConditionScreen<bool> conditionScreen = _defaultConditionScreenVisibility,
  5. ScreenBreakpoints? localBreakpoints,
})

Implementation

const ResponsiveVisibility.screen({
  Key? key,
  required this.child,
  this.visibilityIfNotMatch = false,
  this.conditionScreen = _defaultConditionScreenVisibility,
  this.localBreakpoints,
})  : type = ConditionType.screen,
      visibleWhen = const [],
      hiddenWhen = const [],
      super(key: key);