setScrollState method

void setScrollState(
  1. String pageScrollState
)

Implementation

void setScrollState(String pageScrollState) {
  var params = VoltronMap();
  params.push("pageScrollState", pageScrollState);
  context.renderBridgeManager.sendComponentEvent(
    rootId,
    id,
    ViewPagerController.kEventOnPageScrollStateChanged,
    params,
  );
}