ModalRenderViewModel.copy constructor
ModalRenderViewModel.copy({
- required int id,
- required int instanceId,
- required String className,
- required RenderContext<
LoadInstanceContext> context, - required ModalRenderViewModel viewModel,
Implementation
ModalRenderViewModel.copy({
required int id,
required int instanceId,
required String className,
required RenderContext context,
required ModalRenderViewModel viewModel,
}) : super.copy(id, instanceId, className, context, viewModel) {
animationSwitch = viewModel.animationSwitch;
animationType = viewModel.animationType;
animationDuration = viewModel.animationDuration;
barrierColor = viewModel.barrierColor;
immersionStatusBar = viewModel.immersionStatusBar;
statusBarTextDarkColor = viewModel.statusBarTextDarkColor;
transparent = viewModel.transparent;
canDialogShow = viewModel.canDialogShow;
oldWidth = viewModel.oldWidth;
oldHeight = viewModel.oldHeight;
modalKey = viewModel.modalKey;
}