createRenderViewModel method

  1. @override
ViewPagerRenderViewModel createRenderViewModel(
  1. RenderNode node,
  2. RenderContext<LoadInstanceContext> context
)
override

Implementation

@override
ViewPagerRenderViewModel createRenderViewModel(
  RenderNode node,
  RenderContext context,
) {
  return ViewPagerRenderViewModel(
    id: node.id,
    instanceId: node.rootId,
    className: node.name,
    context: context,
  );
}