viewProduct static method
A full-screen 3D product viewer with a "View in AR" button.
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),
),
);