const
Sliver.visibility(- {Key? key,
- required Sliver sliver,
- @Default(SliverToBoxAdapter()) Sliver replacementSliver,
- @Default(true) bool visible,
- @Default(false) bool maintainState,
- @Default(false) bool maintainAnimation,
- @Default(false) bool maintainSize,
- @Default(false) bool maintainSemantics,
- @Default(false) bool maintainInteractivity}
)
Implementation
const factory Sliver.visibility({
Key? key,
required Sliver sliver,
@Default(SliverToBoxAdapter()) Sliver replacementSliver,
@Default(true) bool visible,
@Default(false) bool maintainState,
@Default(false) bool maintainAnimation,
@Default(false) bool maintainSize,
@Default(false) bool maintainSemantics,
@Default(false) bool maintainInteractivity,
}) = SliverVisibility;