RenderSliverVisibilityDetector constructor
RenderSliverVisibilityDetector({
- RenderSliver? sliver,
- required Key key,
- required VisibilityChangedCallback? onVisibilityChanged,
Constructor. See the corresponding properties for parameter details.
Implementation
RenderSliverVisibilityDetector({
RenderSliver? sliver,
required this.key,
required VisibilityChangedCallback? onVisibilityChanged,
}) : super(sliver) {
_onVisibilityChanged = onVisibilityChanged;
}