model_viewer_plus.dart icon indicating copy to clipboard operation
model_viewer_plus.dart copied to clipboard

3D model viewer keeps logging html

Open Moizsohail opened this issue 2 years ago • 0 comments

Describe the bug The 3d model viewer keeps logging html in the console.

HTML generated for model_viewer_plus:
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
    body,
    model-viewer {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
    }
    /* other-css */
</style>

To reproduce Steps to reproduce the behavior: return ModelViewer( src: snapshot.data, autoRotate: true, disableZoom: true, cameraControls: true, );

Expected behavior Don't get html logged in the console

Screenshots image

Desktop (please complete the following information):

  • OS: web (Mac m2)
  • Browser: Chrome
  • Version: 1.4.0

Additional context

Flutter 3.3.9 • channel stable • https://github.com/flutter/flutter.git
Framework • revision b8f7f1f986 (8 weeks ago) • 2022-11-23 06:43:51 +0900
Engine • revision 8f2221fbef
Tools • Dart 2.18.5 • DevTools 2.15.0

Moizsohail avatar Jan 19 '23 16:01 Moizsohail