ResponsiveVisibility.screen constructor
const
ResponsiveVisibility.screen({
- Key? key,
- required Widget child,
- bool? visibilityIfNotMatch = false,
- ConditionScreen<
bool> conditionScreen = _defaultConditionScreenVisibility, - 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);