From f57ed8c0af77e01d1a8609669b933f9e1aa8de11 Mon Sep 17 00:00:00 2001 From: cmedamine Date: Wed, 2 Feb 2022 13:54:47 +0000 Subject: [PATCH] fix parameter not passing the source --- lib/src/model_viewer_plus.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/model_viewer_plus.dart b/lib/src/model_viewer_plus.dart index cf05796..2b59cb7 100644 --- a/lib/src/model_viewer_plus.dart +++ b/lib/src/model_viewer_plus.dart @@ -173,7 +173,7 @@ class _ModelViewerState extends State { return HTMLBuilder.build( htmlTemplate: htmlTemplate, backgroundColor: widget.backgroundColor, - src: '/model', + src: widget.src, alt: widget.alt, ar: widget.ar, arModes: widget.arModes,