ResponsiveVisibility.conditions constructor
const
ResponsiveVisibility.conditions({
- Key? key,
- required Widget child,
- bool? visibilityIfNotMatch,
- List<
ConditionBreakpoint< visibleWhen = const [],bool> > - ScreenBreakpoints? localBreakpoints,
Implementation
const ResponsiveVisibility.conditions({
Key? key,
required this.child,
this.visibilityIfNotMatch,
this.visibleWhen = const [],
this.hiddenWhen = const [],
this.localBreakpoints,
}) : assert(visibleWhen.length == 0 || hiddenWhen.length == 0),
type = ConditionType.conditions,
conditionScreen = _defaultConditionScreenVisibility,
super(key: key);