loadUSDZFileFromPath method
Loads a USDZ file from a local path.
path should be a valid path to a local USDZ file.
Returns a Future<bool> that completes with:
trueif the file was loaded successfullyfalseif there was an error loading the file
Example:
final viewer = FlutterViewerUsdz();
final success = await viewer.loadUSDZFileFromPath('assets/model.usdz');
Implementation
Future<bool> loadUSDZFileFromPath(String path) {
return FlutterViewerUsdzPlatform.instance.loadUSDZFileFromPath(path);
}