setScrollEventEnable method

  1. @ControllerProps(NodeProps.kOnScrollEnable)
void setScrollEventEnable(
  1. ScrollViewRenderViewModel renderViewModel,
  2. bool flag
)

2.0 bind event

Implementation

@ControllerProps(NodeProps.kOnScrollEnable)
void setScrollEventEnable(
  ScrollViewRenderViewModel renderViewModel,
  bool flag,
) {
  renderViewModel.scrollGestureDispatcher.scrollEventEnable = flag;
}