VisibilityModifier constructor
const
VisibilityModifier({})
Control whether the given child
is visible
.
The child
and replacement
arguments must not be null.
The boolean arguments must not be null.
The maintainSemantics
and maintainInteractivity
arguments can only be
set if maintainSize
is set.
The maintainSize
argument can only be set if maintainAnimation
is set.
The maintainAnimation
argument can only be set if maintainState
is
set.
Implementation
const VisibilityModifier({
super.key,
super.modifierKey,
this.replacement = const SizedBox.shrink(),
this.visible = true,
this.maintainState = false,
this.maintainAnimation = false,
this.maintainSize = false,
this.maintainSemantics = false,
this.maintainInteractivity = false,
});