onPageSelect method
Implementation
void onPageSelect(int page) {
var params = VoltronMap();
params.push("position", page);
context.renderBridgeManager.sendComponentEvent(
rootId,
id,
ViewPagerController.kEventOnPageSelected,
params,
);
}