poster property

String? poster
final

Displays an image instead of the model, useful for showing the user something before a model is loaded and ready to render. If you use a poster with transparency, you may also want to set --poster-color to transparent so that the background shows through.

<model-viewer> official document: https://modelviewer.dev/docs/#entrydocs-loading-attributes-poster

Implementation

final String? poster;