SliverVisibility constructor Null safety

const SliverVisibility(
  1. {Key? key,
  2. required Sliver sliver,
  3. Sliver replacementSliver,
  4. bool visible,
  5. bool maintainState,
  6. bool maintainAnimation,
  7. bool maintainSize,
  8. bool maintainSemantics,
  9. bool maintainInteractivity}
)

Implementation

const factory SliverVisibility(
    {final Key? key,
    required final Sliver sliver,
    final Sliver replacementSliver,
    final bool visible,
    final bool maintainState,
    final bool maintainAnimation,
    final bool maintainSize,
    final bool maintainSemantics,
    final bool maintainInteractivity}) = _$SliverVisibility;