ViewPagerRenderViewModel.copy constructor
ViewPagerRenderViewModel.copy({
- required int id,
- required int instanceId,
- required String className,
- required RenderContext<
LoadInstanceContext> context, - required ViewPagerRenderViewModel viewModel,
Implementation
ViewPagerRenderViewModel.copy({
required int id,
required int instanceId,
required String className,
required RenderContext context,
required ViewPagerRenderViewModel viewModel,
}) : super.copy(id, instanceId, className, context, viewModel) {
scrollEnabled = viewModel.scrollEnabled;
initialPage = viewModel.initialPage;
pageMargin = viewModel.pageMargin;
overflow = viewModel.overflow;
pageController = viewModel.pageController;
bounces = viewModel.bounces;
isVertical = viewModel.isVertical;
}