Sliver.visibilityMaintain constructor Null safety

const Sliver.visibilityMaintain(
  1. {Key? key,
  2. required Sliver sliver,
  3. @Default(SliverToBoxAdapter()) Sliver replacementSliver,
  4. @Default(true) bool visible}
)

Implementation

const factory Sliver.visibilityMaintain({
  Key? key,
  required Sliver sliver,
  @Default(SliverToBoxAdapter()) Sliver replacementSliver,
  @Default(true) bool visible,
}) = SliverVisibilityMaintain;