createRenderObject method

  1. @override
RenderVisibilityDetector createRenderObject(
  1. BuildContext context
)
override

Implementation

@override
RenderVisibilityDetector createRenderObject(BuildContext context) {
  return RenderVisibilityDetector(
    key: key!,
    onVisibilityChanged: onVisibilityChanged,
    visibleFraction: visibleFraction,
    triggerOnce: triggerOnce,
  );
}