setTransformOrigin method

  1. @ControllerProps(NodeProps.kTransformOrigin)
void setTransformOrigin(
  1. T viewModel,
  2. VoltronMap? transformOriginMap
)

Implementation

@ControllerProps(NodeProps.kTransformOrigin)
void setTransformOrigin(T viewModel, VoltronMap? transformOriginMap) {
  final transformOrigin = TransformOrigin(transformOriginMap);
  viewModel.transformOrigin = transformOrigin;
}