ar_plugin 0.0.2
ar_plugin: ^0.0.2 copied to clipboard
A Flutter plugin to view USDZ models in AR on iOS using ARKit and QuickLook.
<<<<<<< HEAD
ar_flutter_plugin #
Lightweight Flutter plugin to present USDZ models in augmented reality on iPhones and iPads. #
ar_plugin #
A Flutter plugin for displaying .usdz AR models using iOS RealityKit.
Getting Started #
This plugin provides platform-specific implementation for iOS to display AR models in .usdz format.
iOS Setup #
To use this plugin on iOS, follow these steps:
-
Open your Flutter project’s iOS workspace in Xcode:
-
Drag your
.usdzfile (e.g.,Shell_Chair.usdz) into the Runner > Resources folder in Xcode. -
In the popup dialog, check:
- Copy items if needed
- Ensure the
.usdzfile is added to the Runner target.
Important Notes #
- Only
.usdzfiles are supported as AR models on iOS. - The minimum iOS deployment target is iOS 13.0.
- This plugin currently supports iOS only; Android is not supported.
Example Usage #
await arPlugin.showArScreen(
'Shell_Chair.usdz', // Only pass the filename; the file must be bundled in iOS app resources
scale: 0.01,
);
>>>>>>> 441ad76 (Initial commit - Add Flutter plugin source code)
# ar_flutter_plugin