viewProduct static method
Full-screen 3D viewer with a "View in AR" button (any platform shows 3D; AR where supported). UArExperiences.viewProduct(source: UArSource.url(glbUrl))
Implementation
static Future<void> viewProduct({required UArSource source, UArSource? iosSource, String? title, List<UArHotspot> hotspots = const <UArHotspot>[], UArLabels labels = const UArLabels()}) =>
UNavigator.push<void>(
Scaffold(
appBar: AppBar(title: title == null ? null : UTextTitleMedium(title)),
body: U3DViewer(source: source, iosSource: iosSource, title: title, hotspots: hotspots, labels: labels),
),
);