ar_core_new 0.0.1
ar_core_new: ^0.0.1 copied to clipboard
Flutter plugin exposing ARCore Android SDK functionality.
ar_core_new #
Flutter plugin that exposes ARCore Android SDK APIs via method channels.
Platform Support #
- Android only
- Not supported on iOS, web, macOS, Linux, or Windows
Android Requirements #
- Flutter 3.11+
- Min SDK 24
- ARCore SDK
com.google.ar:core:1.52.0 - Camera permission in merged manifest
Usage #
final arCore = ArCoreNew();
final availability = await arCore.checkAvailability();
final supported = await arCore.isSupported();
if (supported) {
await arCore.createSession(
config: const ArCoreSessionConfig(
depthMode: ArCoreDepthMode.automatic,
planeFindingMode: ArCorePlaneFindingMode.horizontalAndVertical,
lightEstimationMode: ArCoreLightEstimationMode.environmentalHdr,
),
);
await arCore.resumeSession();
}
Available operations:
checkAvailability()isSupported()requestInstall()createSession(...)updateSessionConfig(...)resumeSession()pauseSession()closeSession()isDepthModeSupported(...)