ModelComponent constructor
ModelComponent({})
A model loaded from the asset at model.
Implementation
ModelComponent({
this.model = '',
Map<String, String>? materials,
this.castShadows = true,
this.visible = true,
}) : materials = materials ?? {};