ResponsiveVisibility constructor
const
ResponsiveVisibility({
- Key? key,
- required Widget child,
- bool visible = true,
- List<
Condition< visibleConditions = const [],bool> > - Widget replacement = const SizedBox.shrink(),
- bool maintainState = false,
- bool maintainAnimation = false,
- bool maintainSize = false,
- bool maintainSemantics = false,
- bool maintainInteractivity = false,
Implementation
const ResponsiveVisibility({
super.key,
required this.child,
this.visible = true,
this.visibleConditions = const [],
this.hiddenConditions = const [],
this.replacement = const SizedBox.shrink(),
this.maintainState = false,
this.maintainAnimation = false,
this.maintainSize = false,
this.maintainSemantics = false,
this.maintainInteractivity = false,
});